Generates a Show instance declaration for the given data type or data family instance.
Modulederiving-compat-0.6.8Haskell2010
Text.Show.Deriving.Internal
Exports functions to mechanically derive Show, Show1, and Show2 instances.
Note: this is an internal module, and as such, the API presented here is not guaranteed to be stable, even between minor releases of this library.
- 1 type
- 26 values
- Packagederiving-compat-0.6.8
- Exports27
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceInternal.hs
Show
8 declarationsLike deriveShow, but takes a ShowOptions argument.
Like makeShowsPrec, but takes a ShowOptions argument.
Like makeShow, but takes a ShowOptions argument.
Like makeShowList, but takes a ShowOptions argument.
Show1
8 declarationsGenerates a Show1 instance declaration for the given data type or data
family instance.
Like deriveShow1, but takes a ShowOptions argument.
Generates a lambda expression which behaves like liftShowsPrec (without
requiring a Show1 instance).
This function is not available with transformers-0.4.
Like makeLiftShowsPrec, but takes a ShowOptions argument.
This function is not available with transformers-0.4.
Generates a lambda expression which behaves like liftShowList (without
requiring a Show instance).
This function is not available with transformers-0.4.
Like makeLiftShowList, but takes a ShowOptions argument.
This function is not available with transformers-0.4.
Generates a lambda expression which behaves like showsPrec1 (without
requiring a Show1 instance).
Like makeShowsPrec1, but takes a ShowOptions argument.
Show2
8 declarationsGenerates a Show2 instance declaration for the given data type or data
family instance.
This function is not available with transformers-0.4.
Like deriveShow2, but takes a ShowOptions argument.
This function is not available with transformers-0.4.
Generates a lambda expression which behaves like liftShowsPrec2 (without
requiring a Show2 instance).
This function is not available with transformers-0.4.
Like makeLiftShowsPrec2, but takes a ShowOptions argument.
This function is not available with transformers-0.4.
Generates a lambda expression which behaves like liftShowList2 (without
requiring a Show instance).
This function is not available with transformers-0.4.
Like makeLiftShowList2, but takes a ShowOptions argument.
This function is not available with transformers-0.4.
Generates a lambda expression which behaves like showsPrec2 (without
requiring a Show2 instance).
This function is not available with transformers-0.4.
Like makeShowsPrec2, but takes a ShowOptions argument.
This function is not available with transformers-0.4.
ShowOptions
3 declarationsOptions that further configure how the functions in Text.Show.Deriving should behave.
Constructors
Instances4Eq, Ord, Read, Show
Eq ShowOptionsDefined in deriving-compat-0.6.8 · Text.Show.Deriving.InternalOrd ShowOptionsDefined in deriving-compat-0.6.8 · Text.Show.Deriving.InternalRead ShowOptionsDefined in deriving-compat-0.6.8 · Text.Show.Deriving.InternalShow ShowOptionsDefined in deriving-compat-0.6.8 · Text.Show.Deriving.Internal
ShowOptions that match the behavior of the most recent GHC release.
ShowOptions that match the behavior of the installed version of GHC.