Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
let rec fibf = Seq.cache <| seq {
yield! [1I; 1I]
yield! Seq.map2 (+) fibf (Seq.skip 1 fibf)
fibf |> Seq.nth 100000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment