| ... | ... | @@ -22,3 +22,10 @@ fib n = fib (n-1) + fib (n-2) |
|
|
|
But what is the value of **fib (-3)**? A runtime stack overflow! Much better to catch this error at compile time.
|
|
|
|
|
|
|
|
|
|
|
|
## Proposal
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ticket: [\#79](https://gitlab.haskell.org//haskell/prime/issues/79)
|
|
|
|
|
|
|
|
|