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

Copyright | (C) 2014-2017 Ryan Scott
License | BSD-style (see the file LICENSE)
Maintainer | Ryan Scott
Stability | Provisional
Portability | GHC
Safe Haskell | None
Language | Haskell2010

TextShow.Data.Complex

Contents

- Orphan instances

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
Methods showbPrec :: Int -> Complex a -> Builder Source # showb :: Complex a -> Builder Source # showbList :: [Complex a] -> Builder Source # showtPrec :: Int -> Complex a -> Text Source # showt :: Complex a -> Text Source # showtList :: [Complex a] -> Text Source # showtlPrec :: Int -> Complex a -> Text Source # showtl :: Complex a -> Text Source # showtlList :: [Complex a] -> Text Source #