Skip to content

Instantly share code, notes, and snippets.

@5outh
Created December 27, 2012 21:01
Show Gist options
  • Save 5outh/4391939 to your computer and use it in GitHub Desktop.
Save 5outh/4391939 to your computer and use it in GitHub Desktop.
class (Functor w) => Comonad w where
coreturn :: w a -> a
cojoin :: w a -> w (w a)
(=>>) :: w a -> (w a -> b) -> w b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment