Last active
August 29, 2015 14:02
-
-
Save cleichner/dd7aba6f16c3895ea23f to your computer and use it in GitHub Desktop.
wrapM
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
wrapM :: Monad m => (a -> b) -> (a -> m b) | |
wrapM = (return .) | |
-- same as wrapM f = \x -> return (f x) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment