Module
Routing.Duplex.Generic
- Package
- routing-duplex
- Repository
- natefaubion/purescript-routing-duplex
#sum Source
sum :: forall a rep r. Generic a rep => GRouteDuplex rep r => Record r -> RouteDuplex' a
#GRouteDuplex Source
class GRouteDuplex :: Type -> Row Type -> Constraint
class GRouteDuplex rep (r :: Row Type) | rep -> r where
Members
gRouteDuplex :: Record r -> RouteDuplex' rep
Instances
(GRouteDuplex a r, GRouteDuplex b r) => GRouteDuplex (Sum a b) r
(IsSymbol sym, Cons sym (RouteDuplex a a) rx r, GRouteDuplexCtr a b) => GRouteDuplex (Constructor sym b) r
#GRouteDuplexCtr Source
class GRouteDuplexCtr a b | a -> b where
Members
gRouteDuplexCtr :: RouteDuplex' a -> RouteDuplex' b
Instances
GRouteDuplexCtr (Product a b) (Product a b)
GRouteDuplexCtr NoArguments NoArguments
GRouteDuplexCtr (Argument a) (Argument a)
GRouteDuplexCtr a (Argument a)
#product Source
product :: forall a b c. GRouteDuplexCtr b c => RouteDuplex' a -> RouteDuplex' b -> RouteDuplex' (Product (Argument a) c)