Created
August 11, 2019 14:02
-
-
Save epicallan/455856b0279656ac8d62cb4c2cdc8693 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
-- | simple generic implementation | |
simpleHttp :: (MonadThrow m, HttpNetwork m User) => Id -> m () | |
simpleHttp = error "do me..." | |
-- | Implemenation from well-typed article | |
simpleHttp | |
:: (MonadThrow m, Throws HTTPException, Throws DBException, HttpNetwork m User) | |
=> Id -> m () | |
simpleHttp = error "do me..." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment