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.
Contents
Synopsis
- value deriveShow
- value deriveShowOptions
- value makeShowsPrec
- value makeShowsPrecOptions
- value makeShow
- value makeShowOptions
- value makeShowList
- value makeShowListOptions
- value deriveShow1
- value deriveShow1Options
- value makeLiftShowsPrec
- value makeLiftShowsPrecOptions
- value makeLiftShowList
- value makeLiftShowListOptions
- value makeShowsPrec1
- value makeShowsPrec1Options
- value deriveShow2
- value deriveShow2Options
- value makeLiftShowsPrec2
- value makeLiftShowsPrec2Options
- value makeLiftShowList2
- value makeLiftShowList2Options
- value makeShowsPrec2
- value makeShowsPrec2Options
- data ShowOptions
- value defaultShowOptions
- value legacyShowOptions
- Packagederiving-compat-0.6.8
- Exports27
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceInternal.hs
Like 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
Generates 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
Generates 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.
Options 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.