Last active
July 4, 2017 15:35
-
-
Save deque-blog/063e4b45c6fae2008426fbe4cb1aeafe 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
-- Cannot do anything but pure computations | |
reserve :: ReservationRequest -> ConfirmedReservation | |
-- Can do anything it wants, such as sending a HTTP request | |
reverseWithIO :: ReservationRequest -> IO ConfirmedReservation |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment