Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data a :&: b = Prod a b
- class ProductClass c s where
- type (:>&:) c a = ProductClass c a
- prodLens :: c :>&: a => Lens' c a
- (<&) :: a -> b -> a :&: b
Documentation
Prod a b |
(Show b, Show a) => Show ((:&:) a b) Source # | |
ProductClass c a => ProductClass ((:&:) c b) a Source # | |
ProductClass ((:&:) a b) b Source # | |
class ProductClass c s where Source #
Extensible product typeclass for type
ProductClass a a Source # | |
ProductClass (a, b) b Source # | |
ProductClass (a, b) a Source # | |
ProductClass c a => ProductClass ((:&:) c b) a Source # | |
ProductClass ((:&:) a b) b Source # | |
ProductClass (a, b, c) c Source # | |
ProductClass (a, b, c) b Source # | |
ProductClass (a, b, c) a Source # | |
ProductClass (a, b, c, d) d Source # | |
ProductClass (a, b, c, d) c Source # | |
ProductClass (a, b, c, d) b Source # | |
ProductClass (a, b, c, d) a Source # | |
ProductClass (a, b, c, d, e) e Source # | |
ProductClass (a, b, c, d, e) d Source # | |
ProductClass (a, b, c, d, e) c Source # | |
ProductClass (a, b, c, d, e) b Source # | |
ProductClass (a, b, c, d, e) a Source # | |
type (:>&:) c a = ProductClass c a Source #
Short-hand type operator for product class