Module

Simple.JSON.Generics

Package
purescript-simple-json-generics
Repository
justinwoo/purescript-simple-json-generics

Re-exports from Simple.JSON.Generics.EnumSumRep

#GenericEnumSumRep Source

class GenericEnumSumRep rep  where

Generic Enum Sum Representations, with constructor names as strings

Members

Instances

#enumSumRep Source

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

Re-exports from Simple.JSON.Generics.TaggedSumRep

#GenericTaggedSumRep Source

class GenericTaggedSumRep rep  where

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

Members

Instances

#taggedSumRep Source

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

Re-exports from Simple.JSON.Generics.UntaggedProductRep

#GenericUntaggedProductRep Source

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 Source

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

Re-exports from Simple.JSON.Generics.UntaggedSumRep

#GenericUntaggedSumRep Source

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 Source

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