Skip to content

Instantly share code, notes, and snippets.

@Gryff
Created March 12, 2019 16:25
Show Gist options
  • Select an option

  • Save Gryff/c52d4a5cb7d1821a05e299447dd2e8c6 to your computer and use it in GitHub Desktop.

Select an option

Save Gryff/c52d4a5cb7d1821a05e299447dd2e8c6 to your computer and use it in GitHub Desktop.
deposit amount = do
now <- lift currentDateTime
modify $ \transactions -> transactions ++ [Deposit amount now]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment