mirror of
https://github.com/IBM/fp-go.git
synced 2025-06-21 00:19:34 +02:00
fix: change Cache to Memoize and fix order of parameters to ToType
Signed-off-by: Dr. Carsten Leue <carsten.leue@de.ibm.com>
This commit is contained in:
@ -29,7 +29,7 @@ func TestCache(t *testing.T) {
|
||||
return n
|
||||
}
|
||||
|
||||
cached := Cache(withSideEffect)
|
||||
cached := Memoize(withSideEffect)
|
||||
|
||||
assert.Equal(t, 0, count)
|
||||
|
||||
|
Reference in New Issue
Block a user