Skip to content

Instantly share code, notes, and snippets.

@nickleeh
Created May 12, 2015 23:35
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 nickleeh/bb330eba549a7ea172ab to your computer and use it in GitHub Desktop.
Save nickleeh/bb330eba549a7ea172ab to your computer and use it in GitHub Desktop.
let toBigInt (n: int) = bigint(n)
let fac n =
[1..n]
|> List.map toBigInt
|> List.reduce (*)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment