Created
May 4, 2015 13:51
-
-
Save vgaltes/5da2202b0dfd5e833a2c to your computer and use it in GitHub Desktop.
FSharp Bank Kata - Get Option value
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
let printValue opt = | |
match opt with | |
| Some x -> printfn "%A" x | |
| None -> printfn "No value." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment