Skip to content

Instantly share code, notes, and snippets.

@patrickt
Created February 15, 2014 21:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save patrickt/9025718 to your computer and use it in GitHub Desktop.
Save patrickt/9025718 to your computer and use it in GitHub Desktop.
class Functor f where
fmap :: Functor 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