text-show-3.8.5: Efficient conversion of values into Text
Copyright(C) 2014-2017 Ryan Scott
LicenseBSD-style (see the file LICENSE)
MaintainerRyan Scott
StabilityProvisional
PortabilityGHC
Safe HaskellNone
LanguageHaskell2010

TextShow.Foreign.Ptr

Description

TextShow instances for pointer types used in the Haskell Foreign Function Interface (FFI).

Since: 2

Orphan instances

TextShow1 Ptr Source #

Since: 2

Instance details

Methods

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

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

TextShow1 FunPtr Source #

Since: 2

Instance details

Methods

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

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

TextShow1 ForeignPtr Source #

Since: 2

Instance details

Methods

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

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

TextShow IntPtr Source #

Since: 2

Instance details

Methods

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

showb :: IntPtr -> Builder Source #

showbList :: [IntPtr] -> Builder Source #

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

showt :: IntPtr -> Text Source #

showtList :: [IntPtr] -> Text Source #

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

showtl :: IntPtr -> Text Source #

showtlList :: [IntPtr] -> Text Source #

TextShow WordPtr Source #

Since: 2

Instance details

Methods

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

showb :: WordPtr -> Builder Source #

showbList :: [WordPtr] -> Builder Source #

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

showt :: WordPtr -> Text Source #

showtList :: [WordPtr] -> Text Source #

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

showtl :: WordPtr -> Text Source #

showtlList :: [WordPtr] -> Text Source #

TextShow (Ptr a) Source #

Since: 2

Instance details

Methods

showbPrec :: Int -> Ptr a -> Builder Source #

showb :: Ptr a -> Builder Source #

showbList :: [Ptr a] -> Builder Source #

showtPrec :: Int -> Ptr a -> Text Source #

showt :: Ptr a -> Text Source #

showtList :: [Ptr a] -> Text Source #

showtlPrec :: Int -> Ptr a -> Text Source #

showtl :: Ptr a -> Text Source #

showtlList :: [Ptr a] -> Text Source #

TextShow (FunPtr a) Source #

Since: 2

Instance details

Methods

showbPrec :: Int -> FunPtr a -> Builder Source #

showb :: FunPtr a -> Builder Source #

showbList :: [FunPtr a] -> Builder Source #

showtPrec :: Int -> FunPtr a -> Text Source #

showt :: FunPtr a -> Text Source #

showtList :: [FunPtr a] -> Text Source #

showtlPrec :: Int -> FunPtr a -> Text Source #

showtl :: FunPtr a -> Text Source #

showtlList :: [FunPtr a] -> Text Source #

TextShow (ForeignPtr a) Source #

Since: 2

Instance details

Methods

showbPrec :: Int -> ForeignPtr a -> Builder Source #

showb :: ForeignPtr a -> Builder Source #

showbList :: [ForeignPtr a] -> Builder Source #

showtPrec :: Int -> ForeignPtr a -> Text Source #

showt :: ForeignPtr a -> Text Source #

showtList :: [ForeignPtr a] -> Text Source #

showtlPrec :: Int -> ForeignPtr a -> Text Source #

showtl :: ForeignPtr a -> Text Source #

showtlList :: [ForeignPtr a] -> Text Source #