Module
Data.Generic.Rep.Show
- Package
- purescript-generics-repDEPRECATED
- Repository
- purescript/purescript-generics-rep
#GenericShow Source
class GenericShow a where
Members
genericShow' :: a -> String
Instances
GenericShow NoConstructors
(GenericShow a, GenericShow b) => GenericShow (Sum a b)
(GenericShowArgs a, IsSymbol name) => GenericShow (Constructor name a)
#GenericShowArgs Source
class GenericShowArgs a where
Members
genericShowArgs :: a -> Array String
Instances
GenericShowArgs NoArguments
(GenericShowArgs a, GenericShowArgs b) => GenericShowArgs (Product a b)
(Show a) => GenericShowArgs (Argument a)
(GenericShowFields a) => GenericShowArgs (Rec a)
#GenericShowFields Source
class GenericShowFields a where
Members
genericShowFields :: a -> Array String
Instances
(GenericShowFields a, GenericShowFields b) => GenericShowFields (Product a b)
(Show a, IsSymbol name) => GenericShowFields (Field name a)
#genericShow Source
genericShow :: forall rep a. Generic a rep => GenericShow rep => a -> String
A Generic
implementation of the show
member from the Show
type class.