Skip to content

Instantly share code, notes, and snippets.

@neontorrent
Last active June 20, 2020 01:43
Show Gist options
  • Save neontorrent/cec951d1582d6bc12da14bb3666d398c to your computer and use it in GitHub Desktop.
Save neontorrent/cec951d1582d6bc12da14bb3666d398c to your computer and use it in GitHub Desktop.
Monoid
empty
concat
append
Functor
map: (a -> b) -> f a -> f b
Monad
unit
flatMap: (a -> f b) -> f a -> f b
Applicative
unit
ap: f (a -> b) -> f a -> f b
Traverse
traverse: (a -> g b) -> f a -> g f b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment