Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
-- 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