Module

Polyform.Dual.Generic

Package
purescript-polyform
Repository
purescript-polyform/polyform

Re-exports from Polyform.Dual.Generic.Sum

#GDualSum Source

class GDualSum p s i rep r | rep -> r p i

Instances

#sum Source

sum :: forall a i p rep r s. Generic a rep => GDualSum p s i rep r => Functor (p i) => Alt (p i) => Profunctor p => (forall x l. IsSymbol l => Proxy l -> Dual p s i x -> Dual p s i x) -> Record r -> Dual p s i a

Re-exports from Polyform.Dual.Generic.Variant

#GDualVariant Source

class GDualVariant p s i dl d v | dl -> d p s i v

Instances

#variant Source

variant :: forall d dl p i v s. RowToList d dl => Alt (p i) => Functor (p i) => GDualVariant p s i dl d v => (forall a l. IsSymbol l => Proxy l -> Dual p s i a -> Dual p s i a) -> Record d -> Dual p s i (Variant v)