May 29, 2020 Issues » [Issue 20099] Memoize should handle lambdas | |||
|---|---|---|---|
| |||
...phobos pull request #7507 "Fix issue 20099 - Memoize should handle lambdas" fixing this issue: - Fix... | |||
April 27, 2020 Learn » Re: GtkD crash: 'BadAlloc (insufficient resources for operation)' | |||
|---|---|---|---|
| |||
...the program I did Find 'memoize' which worked. Then 'memoize python' which also worked. Then... | |||
December 13, 2019 Issues » [Issue 20439] memoize fails with types that have a void opAssign | |||
|---|---|---|---|
| |||
...phobos pull request #7311 "Fixes 20439: fix memoize return statement" was merged into master: - 398d63169eb250bc125c62a59e1cc5922e31df29... | |||
October 19, 2019 Issues » [Issue 20302] std.functional.memoize doesn't accept a functions with const/immutable parameters | |||
|---|---|---|---|
| |||
...20302 - Support head const in memoize Make std.functional.memoize accept functions whose return type... | |||
October 16, 2019 Issues » [Issue 20302] std.functional.memoize doesn't accept a functions with const/immutable parameters | |||
|---|---|---|---|
| |||
...20302 - Support head const in memoize Make std.functional.memoize accept functions whose return type... | |||
October 15, 2019 Issues » [Issue 20302] std.functional.memoize doesn't accept a functions with const/immutable parameters | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=20302 ZombineDev <petar.p.kirov@gmail.com... | |||
October 15, 2019 Issues » [Issue 20302] New: std.functional.memoize doesn't accept a functions with const/immutable parameters | |||
|---|---|---|---|
| |||
...com
void main()
{
import std.functional : memoize;
alias mfun = memoize!fun;
mfun("asd", 3);
}
const... | |||
October 14, 2019 Issues » [Issue 20300] New: memoize doesn't work with default params | |||
|---|---|---|---|
| |||
...cached(); // Error } Error: function std.functional.memoize!(test).memoize(int _param_0) is not callable... | |||
August 02, 2019 Learn » Re: Function called twice | |||
|---|---|---|---|
| |||
...also gonna suggest using std.functional.memoize to memoize the function in map, but apparently... | |||
August 02, 2019 Issues » [Issue 20099] New: Memoize should handle lambdas | |||
|---|---|---|---|
| |||
...like memoize!(a => a.field). Suggested new implementation:
template memoize(alias fun) {
auto memoize(Args... | |||
Copyright © 1999-2021 by the D Language Foundation