We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 005ed8f commit 51aba1bCopy full SHA for 51aba1b
examples/fib.py
@@ -25,8 +25,7 @@ def fib(n):
25
fib = memoize(fib)
26
27
28
-# Provide a cache with initial values to `memoize`. This works as a decorator
29
-# because `memoize` is curried (see `toolz.curry`) by default.
+# Provide a cache with initial values to `memoize`
30
@memoize(cache={0: 0, 1: 1})
31
def fib(n):
32
""" Functional definition of Fibonacci numbers with initial terms cached.
0 commit comments