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

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

Text.Show.Text.Foreign.Ptr

Description

Monomorphic Show functions for pointer types used in the Haskell Foreign Function Interface (FFI).

Since: 0.3

Synopsis

Documentation

showbPtr :: Ptr a -> Builder Source

Convert a Ptr to a Builder. Note that this does not require the parameterized type to be an instance of Show itself.

Since: 0.3

showbFunPtr :: FunPtr a -> Builder Source

Convert a FunPtr to a Builder. Note that this does not require the parameterized type to be an instance of Show itself.

Since: 0.3

showbIntPtrPrec :: Int -> IntPtr -> Builder Source

Convert an IntPtr to a Builder with the given precedence.

Since: 0.3

showbWordPtr :: WordPtr -> Builder Source

Convert a WordPtr to a Builder.

Since: 0.3

showbForeignPtr :: ForeignPtr a -> Builder Source

Convert a ForeignPtr to a Builder. Note that this does not require the parameterized type to be an instance of Show itself.

Since: 0.3