Skip to content

Instantly share code, notes, and snippets.

@davidbarsky
Created July 18, 2016 00:46
Show Gist options
  • Save davidbarsky/5e1cf3bca070d19b6c3f8e354dc87950 to your computer and use it in GitHub Desktop.
Save davidbarsky/5e1cf3bca070d19b6c3f8e354dc87950 to your computer and use it in GitHub Desktop.
-- This, but with Java’s FutureTasks
main :: IO ()
main = do
message <- getMessage
invoice <- getInvoiceDetail message
insertToDatabase(invoice)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment