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

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

TextShow.Data.Type.Equality

Contents

Description

Monomorphic TextShow function for propositional equality. This module only exports functions if using base-4.7.0.0 or later.

Since: 2

Synopsis

Documentation

showbPropEquality :: (a :~: b) -> Builder Source #

Convert a propositional equality value to a Builder. This function is only available with base-4.7.0.0 or later.

Since: 2

Orphan instances

TextShow2 ((:~:) *) Source # 

Methods

liftShowbPrec2 :: (Int -> a -> Builder) -> ([a] -> Builder) -> (Int -> b -> Builder) -> ([b] -> Builder) -> Int -> (* :~: a) b -> Builder Source #

liftShowbList2 :: (Int -> a -> Builder) -> ([a] -> Builder) -> (Int -> b -> Builder) -> ([b] -> Builder) -> [(* :~: a) b] -> Builder Source #

TextShow1 ((:~:) * a) Source # 

Methods

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

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

TextShow ((:~:) k a0 b0) Source # 

Methods

showbPrec :: Int -> (k :~: a0) b0 -> Builder Source #

showb :: (k :~: a0) b0 -> Builder Source #

showbList :: [(k :~: a0) b0] -> Builder Source #

showtPrec :: Int -> (k :~: a0) b0 -> Text Source #

showt :: (k :~: a0) b0 -> Text Source #

showtList :: [(k :~: a0) b0] -> Text Source #

showtlPrec :: Int -> (k :~: a0) b0 -> Text Source #

showtl :: (k :~: a0) b0 -> Text Source #

showtlList :: [(k :~: a0) b0] -> Text Source #