Skip to content

Instantly share code, notes, and snippets.

@nkpart
Last active October 19, 2016 23:42
Show Gist options
  • Save nkpart/3353e23a74cc234f0b71d0e0f4b15f36 to your computer and use it in GitHub Desktop.
Save nkpart/3353e23a74cc234f0b71d0e0f4b15f36 to your computer and use it in GitHub Desktop.
Prelude Control.Monad> :t map
map :: (a -> b) -> [a] -> [b]
Prelude Control.Monad> :t fmap
fmap :: Functor f => (a -> b) -> f a -> f b
Prelude Control.Monad> :t Control.Monad.liftM
Control.Monad.liftM :: Monad m => (a1 -> r) -> m a1 -> m r
Prelude Control.Monad> :t Control.Applicative.liftA
Control.Applicative.liftA
:: Applicative f => (a -> b) -> f a -> f b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment