text-show-3.6: Efficient conversion of values into Text

Copyright(C) 2014-2017 Ryan Scott
LicenseBSD-style (see the file LICENSE)
MaintainerRyan Scott
StabilityProvisional
PortabilityGHC
Safe HaskellNone
LanguageHaskell2010

TextShow.Data.Complex

Contents

Description

TextShow instances for Ratio.

Due to use of the DatatypeContexts extension, there is no TextShow1 Complex instance on base-4.3.0.0.

Since: 2

Orphan instances

TextShow1 Complex Source #

Only available with base-4.4.0.0 or later.

Since: 2

Methods

liftShowbPrec :: (Int -> a -> Builder) -> ([a] -> Builder) -> Int -> Complex a -> Builder Source #

liftShowbList :: (Int -> a -> Builder) -> ([a] -> Builder) -> [Complex a] -> Builder Source #

TextShow a => TextShow (Complex a) Source #

Note that on base-4.3.0.0, this must have a (TextShow a, RealFloat a) constraint instead of just a (TextShow a) constraint.

Since: 2