Re:Why functional programming matters (1990) [pdf]
by istvan__ on Wednesday May 06, 2015 @10:51PM
(#9503048)
I think you are confusing two things here.
- calculating the n-th element of the Fibonacci sequence - representing it correctly in code
The first one is (assuming the second is present, see code above):
(nth (fibo) 10)
What simplicity? That's even more complex to state than the traditional imperative solution, that's also closer to how mathematicians would write the equation.