Created
August 5, 2015 21:26
-
-
Save jwosty/4d8ed7ea4f1f7745b31a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 44 bytes! | |
let rec s n=seq{yield!string n;yield!s(n+1)} | |
// Usage | |
s 0 |> Seq.nth 100 | |
s 0 |> Seq.nth 10000000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment