←back to thread

389 points kurinikku | 1 comments | | HN request time: 0.22s | source
Show context
js2 ◴[] No.42165910[source]
There's a typo in the code in "the substitution model" section:

  ("+", ("fib", ("-", "n", 2)), ("fib", ("-", "n", 1))),
The two calls to `fib` are surely meant to be `fibonacci` since the latter is defined, but not the former. Indeed, the code is correct in the github repo:

https://github.com/savarin/pyscheme/blob/0f47292c8e5112425b5...

replies(1): >>42166831 #
1. kurinikku ◴[] No.42166831[source]
OP here. Thank you!