Module
Routing.Duplex.Generic
- Package
- purescript-routing-duplex
- Repository
- natefaubion/purescript-routing-duplex
#sum Source
sum :: forall r rep a. Generic a rep => GRouteDuplex rep r => Record r -> RouteDuplex' a
#GRouteDuplex Source
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 c b a. GRouteDuplexCtr b c => RouteDuplex' a -> RouteDuplex' b -> RouteDuplex' (Product (Argument a) c)