Module

Data.Argonaut.Generic.Util

Package
purescript-argonaut-generic-codecs
Repository
eskimor/purescript-argonaut-generic-codecs

#isUnaryRecord Source

isUnaryRecord :: Array DataConstructor -> Boolean

Needed for applying unwrapUnaryRecords.

#stripModulePath Source

#spineIsRecord Source

spineIsRecord :: GenericSpine -> Boolean

Check whether a given spine is a record

#constructorIsRecord Source

constructorIsRecord :: DataConstructor -> Boolean

Check whether a constructor is a Haskell constructor with record fields.