text-show v0.5 Release Notes
-
- ๐ Fix build for GHC 7.10, old GHC versions, and Windows
- โ Removed the
Text.Show.Text.Data.Containers
andText.Show.Text.Data.Time
modules. The modules for the data types incontainers
andtime
were migrated to a separate library,text-show-instances
. - โ Removed the
-ftext-format
flag, astext-show
no longer usestext-format
. - ๐ A serious bug in the
text
package that caused segfaults when building largeInteger
s was fixed intext-1.2.0.2
. A flag (-frecent-text
) was added that allows you to take advantage of this. - ๐ Fixed a bug that would cause the output of functions in the
Text.Show.Text.Data.Floating
module to not matchbase
depending on what version ofbase
is used. - ๐ The type signatures of lambda expressions generated by
mkShow
and related functions were loosened to allow them to be used to "manually" deriveShow
instances for data types with higher-kinded type parameters or type arguments with restrictedShow
instances. This should not be a breaking change; you can simply do more withmkShow
et al. than you could before. For more information, see the documentation inText.Show.Text.TH
. - Loosened the
Show
instance ofComplex a
to only depend onShow a
(previously requiredRealFloat a
) if using base-4.4.0.0 or later - ๐ Moved
showbRatioPrec
toText.Show.Text.Data.Ratio
,showbComplexPrec
toText.Show.Text.Data.Complex
,showbProxy
toText.Show.Text.Data.Proxy
, andshowbFingerprint
toText.Show.Text.GHC.Fingerprint
- โ Added
deriveShowPragmas
toText.Show.Text.TH
to allow users to specifyINLINE
orSPECIALIZE instance
pragmas withShow
instances. - โ Added
FromStringShow
,showbSpace
,showbUnary
,showbUnary1
, andshowbBinary1
toText.Show.Text
- โ Added
mkShowList
,mkShowListLazy
, andmkShowbList
toText.Data.Text.TH
- ๐ For base-4.8.0.0 and above, added the
Text.Show.Text.Data.Functor.Identity
,Text.Show.Text.Data.Void
,Text.Show.Text.GHC.RTS.Flags
,Text.Show.Text.GHC.StaticPtr
, andText.Show.Text.Numeric.Natural
modules. Also addedShow
instances forAllocationLimitExceeded
inText.Show.Text.Control.Exception
andAlt
inText.Show.Text.Data.Monoid
. Also fixed theShow
instance forFixed
values. - โ Added the
Text.Show.Text.Data.GHC.Conc.Windows
module (Windows-only) - โ Added the
Text.Show.Text.Data.OldTypeable
module for base-4.7 - โ Added the
Text.Show.Text.GHC.TypeLits
module for base-4.6 and above - โ Added the
Text.Show.Text.Debug.Trace
andText.Show.Text.Debug.Trace.TH
modules as an analog toDebug.Trace
- โ Added the
Show1
class and corresponding instances for unary type constructors. - โ Added
LitChar
andLitString
toText.Show.Text.Data.Char
- Exported
asciiTabB
inText.Show.Text.Data.Char
- ๐ Renamed
showbTextStrict
to 'showbText' (to keep with naming conventions in thetext
library) and addedshowbBuilder
toText.Show.Text.Data.Text
.