Effective Haskell: Chapter 2 "Hands-On with Infinite Fibonacci Numbers" (Beta 8)

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!