Module

Polyform.Dual.Generic

Package
purescript-polyform
Repository
paluh/purescript-polyform

Re-exports from Polyform.Dual.Generic.Sum

#GDualSum Source

class GDualSum p i rep (r :: Row Type) | rep -> r p i

Instances

#sum Source

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

Re-exports from Polyform.Dual.Generic.Variant

#GDualVariant Source

class GDualVariant p i (dl :: RowList) (d :: Row Type) (v :: Row Type) | dl -> d p i v

Instances

#variant Source

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