The definition of the function fib on p. 80 (Beta 8.0 pdf) has a mistake. The otherwise guard should be otherwise = (fib $ n - 1) + (fib $ n -2)
Good catch, I’ll get that fixed- thanks!
The definition of the function fib on p. 80 (Beta 8.0 pdf) has a mistake. The otherwise guard should be otherwise = (fib $ n - 1) + (fib $ n -2)
Good catch, I’ll get that fixed- thanks!