0
comment
comment
on 2/28/2015 2:37 PM
This is the first part of an intermittent series of articles about calculating Fibonacci numbers in F#. Each article will present a different kind of implementation. Where available, I will also show a corresponding implementation in C#.
Step 1: Specification
To be truly infite, the sequence has to satisfy three conditions:
it has to be lazy, i.e., the numbers are not cached, but continually generated,
the type of number must not have an upper boundary, and
the algorithm must never cause a[...]