Skip to content

Instantly share code, notes, and snippets.

@vgaltes
Created May 4, 2015 14:09
Show Gist options
  • Save vgaltes/7297d59862b4007c980e to your computer and use it in GitHub Desktop.
Save vgaltes/7297d59862b4007c980e to your computer and use it in GitHub Desktop.
FSharp Bank kata - deposit
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