Module

Yoga.JSON.Generics

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

Re-exports from Yoga.JSON.Generics.EnumSumRep

#GenericEnumSumRep Source

class GenericEnumSumRep rep  where

Generic Enum Sum Representations, with constructor names as strings

Members

Instances

#genericWriteForeignEnum Source

genericWriteForeignEnum :: forall a rep. Generic a rep => GenericEnumSumRep rep => Options -> a -> Foreign

#genericReadForeignEnum Source

genericReadForeignEnum :: forall a rep. Generic a rep => GenericEnumSumRep rep => Options -> Foreign -> F a

Re-exports from Yoga.JSON.Generics.TaggedSumRep

#Options Source

type Options = { toConstructorName :: String -> String, typeTag :: String, valueTag :: String }

#ReadGenericTaggedSumRep Source

#genericWriteForeignTaggedSum Source

#genericReadForeignTaggedSum Source

#defaultOptions Source

Re-exports from Yoga.JSON.Generics.UntaggedProductRep

#Offset Source

type Offset = Int

#ReadGenericUntaggedProduct Source

class ReadGenericUntaggedProduct rep  where

Generic Untagged Product Representations, as a heterogeneous fixed-length array You should consider using records instead in almost any usage.

Members

Instances

#WriteGenericUntaggedProduct Source

class WriteGenericUntaggedProduct rep  where

Generic Untagged Product Representations, as a heterogeneous fixed-length array You should consider using records instead in almost any usage.

Members

Instances

#genericWriteForeignUntaggedProduct Source

#genericReadForeignUntaggedProduct Source

Re-exports from Yoga.JSON.Generics.UntaggedSumRep

#ReadGenericUntaggedSumRep Source

class ReadGenericUntaggedSumRep rep  where

Generic Untagged Sum Representations Note that because the members are untagged, you should verify your members are not the same type

Members

Instances

#WriteGenericUntaggedSumRep Source

class WriteGenericUntaggedSumRep rep  where

Generic Untagged Sum Representations Note that because the members are untagged, you should verify your members are not the same type

Members

Instances

#genericWriteForeignUntaggedSum Source

#genericReadForeignUntaggedSum Source