Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
Operations with support for products (pairs) and sums (Either
)
OpId :: Op a a | |
OpFst :: Op (a, b) a | |
OpSnd :: Op (b, a) a | |
OpLeft :: Op (Either a b) a | |
OpRight :: Op (Either b a) a | |
OpComp :: Op b c -> Op a b -> Op a c |