Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
class Category (m :: * -> * -> *) where Source #
When providing a new instance, you should ensure it satisfies: * Left identity: identity . f ≡ f * Right identity: f . identity ≡ f * Associativity: f . (g . h) ≡ (f . g) . h