Skip to content

Instantly share code, notes, and snippets.

@Gryff
Last active February 21, 2019 12:18
Show Gist options
  • Save Gryff/9b699677e40944c68ad5cf0d658c0673 to your computer and use it in GitHub Desktop.
Save Gryff/9b699677e40944c68ad5cf0d658c0673 to your computer and use it in GitHub Desktop.
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