Skip to content
GitLab
Explore
Sign in
Register
Changes
Page history
Edit Natural
authored
Jan 27, 2006
by
malcolm.wallace@cs.york.ac.uk
Hide whitespace changes
Inline
Side-by-side
natural.md
View page @
a2db4ed9
...
@@ -22,3 +22,10 @@ fib n = fib (n-1) + fib (n-2)
...
@@ -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.
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
)