Module

Data.HObject.Record

Package
purescript-homogeneous-objects
Repository
Risto-Stevcev/purescript-homogeneous-objects

#jsonToRecord Source

jsonToRecord :: forall a. Decode a => Json -> Either Error a

Converts a Json to a Record

#hObjToRecord Source

hObjToRecord :: forall b a. Decode b => HObject a -> Either Error b

Converts an HObject to a Record

#structName Source

structName :: forall a. a -> String

Gets the contructor name for the type