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

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

TextShow.Data.Data

Description

Monomorphic `TextShow` functions for data types in the `Data.Data` module.

Since: 2

Synopsis

- showbConstr :: Constr -> Builder
- showbConstrRepPrec :: Int -> ConstrRep -> Builder
- showbDataRepPrec :: Int -> DataRep -> Builder
- showbDataTypePrec :: Int -> DataType -> Builder
- showbFixity :: Fixity -> Builder

# Documentation

showbConstr :: Constr -> Builder Source

Convert a `Constr` to a `Builder`.

Since: 2

showbConstrRepPrec :: Int -> ConstrRep -> Builder Source

Convert a `ConstrRep` to a `Builder` with the given precedence.

Since: 2

showbDataRepPrec :: Int -> DataRep -> Builder Source

Convert a `DataRep` to a `Builder` with the given precedence.

Since: 2

showbDataTypePrec :: Int -> DataType -> Builder Source

Convert a `DataType` to a `Builder` with the given precedence.

Since: 2

showbFixity :: Fixity -> Builder Source

Convert a `Fixity` value to a `Builder`.

Since: 2