1
0
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:
Dr. Carsten Leue
2023-09-10 21:29:01 +02:00
parent 03debd37c8
commit a83c2aec49
4 changed files with 13 additions and 13 deletions

View File

@ -29,7 +29,7 @@ func TestCache(t *testing.T) {
return n
}
cached := Cache(withSideEffect)
cached := Memoize(withSideEffect)
assert.Equal(t, 0, count)