text-show-3.10.5: 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 | Safe-Inferred
Language | Haskell2010

TextShow.GHC.TypeLits

Contents

- Orphan instances

Description

`TextShow` instances for data types in the `GHC.TypeLits` module.

Since: 2

# Orphan instances

TextShow SomeChar Source # | Since: 3.10.1

Instance details

Methods

showbPrec :: Int -> SomeChar -> Builder Source #

showb :: SomeChar -> Builder Source #

showbList :: [SomeChar] -> Builder Source #

showtPrec :: Int -> SomeChar -> Text Source #

showt :: SomeChar -> Text Source #

showtList :: [SomeChar] -> Text Source #

showtlPrec :: Int -> SomeChar -> Text Source #

showtl :: SomeChar -> Text Source #

showtlList :: [SomeChar] -> Text Source #

TextShow SomeSymbol Source # | Since: 2

Instance details

Methods

showbPrec :: Int -> SomeSymbol -> Builder Source #

showb :: SomeSymbol -> Builder Source #

showbList :: [SomeSymbol] -> Builder Source #

showtPrec :: Int -> SomeSymbol -> Text Source #

showt :: SomeSymbol -> Text Source #

showtList :: [SomeSymbol] -> Text Source #

showtlPrec :: Int -> SomeSymbol -> Text Source #

showtl :: SomeSymbol -> Text Source #

showtlList :: [SomeSymbol] -> Text Source #

TextShow SomeNat Source # | Since: 2
Instance details Methods showbPrec :: Int -> SomeNat -> Builder Source # showb :: SomeNat -> Builder Source # showbList :: [SomeNat] -> Builder Source # showtPrec :: Int -> SomeNat -> Text Source # showt :: SomeNat -> Text Source # showtList :: [SomeNat] -> Text Source # showtlPrec :: Int -> SomeNat -> Text Source # showtl :: SomeNat -> Text Source # showtlList :: [SomeNat] -> Text Source #
TextShow (SChar c) Source # | Since: 3.10.1
Instance details Methods showbPrec :: Int -> SChar c -> Builder Source # showb :: SChar c -> Builder Source # showbList :: [SChar c] -> Builder Source # showtPrec :: Int -> SChar c -> Text Source # showt :: SChar c -> Text Source # showtList :: [SChar c] -> Text Source # showtlPrec :: Int -> SChar c -> Text Source # showtl :: SChar c -> Text Source # showtlList :: [SChar c] -> Text Source #
TextShow (SSymbol s) Source # | Since: 3.10.1

Instance details

Methods

showbPrec :: Int -> SSymbol s -> Builder Source #

showb :: SSymbol s -> Builder Source #

showbList :: [SSymbol s] -> Builder Source #

showtPrec :: Int -> SSymbol s -> Text Source #

showt :: SSymbol s -> Text Source #

showtList :: [SSymbol s] -> Text Source #

showtlPrec :: Int -> SSymbol s -> Text Source #

showtl :: SSymbol s -> Text Source #

showtlList :: [SSymbol s] -> Text Source #

TextShow (SNat n) Source # | Since: 3.10.1
Instance details Methods showbPrec :: Int -> SNat n -> Builder Source # showb :: SNat n -> Builder Source # showbList :: [SNat n] -> Builder Source # showtPrec :: Int -> SNat n -> Text Source # showt :: SNat n -> Text Source # showtList :: [SNat n] -> Text Source # showtlPrec :: Int -> SNat n -> Text Source # showtl :: SNat n -> Text Source # showtlList :: [SNat n] -> Text Source #