Last active
February 21, 2019 12:18
-
-
Save Gryff/9b699677e40944c68ad5cf0d658c0673 to your computer and use it in GitHub Desktop.
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
printStatement :: State [Transaction] () | |
printStatement = do | |
transactions <- get | |
let statement = generateStatement transactions | |
putStr statement |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment