Created
November 18, 2012 15:31
-
-
Save adilakhter/4105833 to your computer and use it in GitHub Desktop.
symbolic operator fsharp
This file contains 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
let rec (!) n = | |
match n with | |
| 1 -> (1) | |
| n -> n*(n-1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment