Created
May 4, 2015 14:09
-
-
Save vgaltes/7297d59862b4007c980e to your computer and use it in GitHub Desktop.
FSharp Bank kata - deposit
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 deposit amount currency {Amount = (oldAmount, _)} = | |
{Amount = (oldAmount + amount, USD)} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment