Module
Data.Argonaut.Aeson.Helpers
- Package
- purescript-argonaut-aeson-generic
- Repository
- coot/purescript-argonaut-aeson-generic
#IsSingleConstructor Source
class IsSingleConstructor :: forall k. k -> Constraint
class IsSingleConstructor r where
Members
isSingleConstructor :: Proxy r -> Boolean
Instances
IsSingleConstructor NoConstructors
IsSingleConstructor (Sum a b)
IsSingleConstructor (Constructor name value)
#AreAllConstructorsNullary Source
class AreAllConstructorsNullary :: forall k. k -> Constraint
class AreAllConstructorsNullary r where
Members
areAllConstructorsNullary :: Proxy r -> Boolean
Instances
AreAllConstructorsNullary NoConstructors
(AreAllConstructorsNullary a, AreAllConstructorsNullary b) => AreAllConstructorsNullary (Sum a b)
(AreAllConstructorsNullary value) => AreAllConstructorsNullary (Constructor name value)
AreAllConstructorsNullary NoArguments
AreAllConstructorsNullary (Argument a)
AreAllConstructorsNullary (Product a b)