Skip to content

Instantly share code, notes, and snippets.

@xavierd
Created March 13, 2009 22:15
Show Gist options
  • Save xavierd/78796 to your computer and use it in GitHub Desktop.
Save xavierd/78796 to your computer and use it in GitHub Desktop.
let rec fact = function
0 -> 1
| n -> n * fact (n - 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment