Module

LabeledData.VariantLike.Class

Package
purescript-labeled-data
Repository
thought2/purescript-labeled-data

#BooleanRow Source

type BooleanRow :: Row Typetype BooleanRow = (false :: Unit, true :: Unit)

Instances

#EitherRow Source

type EitherRow :: Type -> Type -> Row Typetype EitherRow a b = (left :: a, right :: b)

Instances

#EitherV Source

type EitherV a b = Variant (EitherRow a b)

#MaybeRow Source

type MaybeRow :: Type -> Row Typetype MaybeRow a = (just :: a, nothing :: Unit)

Instances

#MaybeV Source

type MaybeV a = Variant (MaybeRow a)