text-show-instances-3.5: Additional instances for text-show

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

TextShow.Data.Vector

Contents

Description

Monomorphic TextShow functions for Vector types.

Since: 2

Synopsis

Documentation

liftShowbVectorPrec :: ([a] -> Builder) -> Int -> Vector a -> Builder Source #

Convert a boxed Vector to a Builder with the given show function and precedence. Note that with vector-0.11 and above, the precedence argument is ignored.

Since: 3

showbVectorGenericPrec :: (Vector v a, TextShow a) => Int -> v a -> Builder Source #

Convert a generic Vector to a Builder with the given precedence. Note that with vector-0.11 and above, the precedence argument is ignored.

Since: 2

liftShowbVectorGenericPrec :: Vector v a => ([a] -> Builder) -> Int -> v a -> Builder Source #

Convert a generic Vector to a Builder with the given show function and precedence. Note that with vector-0.11 and above, the precedence argument is ignored.

Since: 3

showbVectorPrimitivePrec :: (TextShow a, Prim a) => Int -> Vector a -> Builder Source #

Convert a primitive Vector to a Builder with the given precedence. Note that with vector-0.11 and above, the precedence argument is ignored.

Since: 2

showbVectorStorablePrec :: (TextShow a, Storable a) => Int -> Vector a -> Builder Source #

Convert a storable Vector to a Builder with the given precedence. Note that with vector-0.11 and above, the precedence argument is ignored.

Since: 2

showbVectorUnboxedPrec :: (TextShow a, Unbox a) => Int -> Vector a -> Builder Source #

Convert an unboxed Vector to a Builder with the given precedence. Note that with vector-0.11 and above, the precedence argument is ignored.

Since: 2

showbSizePrec :: Int -> Size -> Builder Source #

Convert a Size to a Builder with the given precedence.

Since: 2

Orphan instances

TextShow Size Source # 
TextShow1 Vector Source # 

Methods

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

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

TextShow a => TextShow (Vector a) Source # 
(TextShow a, Storable a) => TextShow (Vector a) Source # 
(TextShow a, Unbox a) => TextShow (Vector a) Source # 
(TextShow a, Prim a) => TextShow (Vector a) Source #