Created
March 12, 2019 16:21
-
-
Save Gryff/67444e7a6242a809e53e78a5766f8ad7 to your computer and use it in GitHub Desktop.
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
| firstOfJan2019 = UTCTime (fromGregorian 2019 01 01) (secondsToDiffTime 0) | |
| -- ... | |
| deposit amount = modify $ \transactions -> transactions ++ [Deposit amount firstOfJan2019] | |
| -- same for `withdraw`, and in test functions |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment