Module

Yoga.JSON.Generics.EnumSumRep

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

#Options Source

type Options = { toConstructorName :: String -> String }

#defaultOptions Source

#genericReadForeignEnum Source

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

#genericWriteForeignEnum Source

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

#GenericEnumSumRep Source

class GenericEnumSumRep rep  where

Generic Enum Sum Representations, with constructor names as strings

Members

Instances