Module

Yoga.JSON.Variant

Package
purescript-yoga-json
Repository
rowtype-yoga/purescript-yoga-json

#TaggedVariant Source

newtype TaggedVariant :: Symbol -> Symbol -> Row Type -> Typenewtype TaggedVariant tt vt v

Constructors

Instances

#WriteForeignTaggedVariant Source

class WriteForeignTaggedVariant :: RowList Type -> Row Type -> Constraintclass WriteForeignTaggedVariant (rl :: RowList Type) (row :: Row Type) | rl -> row where

Members

Instances

#ReadForeignTaggedVariant Source

class ReadForeignTaggedVariant :: Symbol -> Symbol -> RowList Type -> Row Type -> Constraintclass ReadForeignTaggedVariant typeTag valueTag (xs :: RowList Type) (row :: Row Type) | xs -> row where

Members

Instances

#WriteForeignUntaggedVariant Source

class WriteForeignUntaggedVariant :: RowList Type -> Row Type -> Constraintclass WriteForeignUntaggedVariant (rl :: RowList Type) (row :: Row Type) | rl -> row where

Members

Instances

#ReadForeignUntaggedVariant Source

class ReadForeignUntaggedVariant :: RowList Type -> Row Type -> Constraintclass ReadForeignUntaggedVariant (xs :: RowList Type) (row :: Row Type) | xs -> row where

Members

Instances