Skip to content

Instantly share code, notes, and snippets.

@cowlike
Created January 23, 2018 22:14
Show Gist options
  • Save cowlike/72b5c9eccc6cceca65c3d51f91ad7a0c to your computer and use it in GitHub Desktop.
Save cowlike/72b5c9eccc6cceca65c3d51f91ad7a0c to your computer and use it in GitHub Desktop.
Unfold ftw...
let fibos = Seq.unfold (fun (x, y) -> Some(y, (y, x + y))) (0, 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment