Skip to content

Instantly share code, notes, and snippets.

@ponzao
Created February 10, 2013 19:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ponzao/4750794 to your computer and use it in GitHub Desktop.
Save ponzao/4750794 to your computer and use it in GitHub Desktop.
let rec cycle xs =
Seq.concat (Seq.initInfinite (fun _ -> xs))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment