Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Synopsis
- data Coproduct a b where
- type (:+:) a b = Coproduct a b
- data CNil
- class AdjoinCoproduct cs c | cs -> c where
- adjoinCoproduct :: cs -> c
Documentation
data Coproduct a b where Source #
Instances
(Eq a, Eq b) => Eq (Coproduct a b) Source # | |
(Negotiable ct a, Negotiable ct SomeException, Negotiable ct (), Compile cts m (HList es), MonadCatch m) => Compile (ct :+: cts) m (HList (Endpoint m a ': es)) Source # | |
class AdjoinCoproduct cs c | cs -> c where Source #
Flatten nested coproduct
adjoinCoproduct :: cs -> c Source #
Instances
AdjoinCoproduct' (AdjoinCoproductT cs) cs c => AdjoinCoproduct cs c Source # | |
Defined in Linnet.Internal.Coproduct adjoinCoproduct :: cs -> c Source # |