Module

Simple.JSON.Generics

Re-exports from Simple.JSON.Generics.EnumSumRep

#GenericEnumSumRep

class GenericEnumSumRep rep  where

Generic Enum Sum Representations, with constructor names as strings

Members

Instances

#enumSumRep

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

Re-exports from Simple.JSON.Generics.TaggedSumRep

#GenericTaggedSumRep

class GenericTaggedSumRep rep  where

Generic Tagged Sum Representations, tagged with a "type" field

Members

Instances

#taggedSumRep

taggedSumRep :: forall a rep. Generic a rep => GenericTaggedSumRep rep => Foreign -> F a

Re-exports from Simple.JSON.Generics.UntaggedProductRep

#GenericUntaggedProductRep

class GenericUntaggedProductRep rep  where

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

Members

Instances

#untaggedProductRep

untaggedProductRep :: forall a rep. Generic a rep => GenericUntaggedProductRep rep => Foreign -> F a

Re-exports from Simple.JSON.Generics.UntaggedSumRep

#GenericUntaggedSumRep

class GenericUntaggedSumRep 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

#untaggedSumRep

untaggedSumRep :: forall a rep. Generic a rep => GenericUntaggedSumRep rep => Foreign -> F a

Modules