llvm-hs-7.0.1: General purpose LLVM bindings

Safe HaskellNone
LanguageHaskell2010

LLVM.Internal.String

Contents

Documentation

newtype UTF8ByteString Source #

Constructors

UTF8ByteString 
Instances
Monad d => DecodeM d String UTF8ByteString Source # 
Instance details

Defined in LLVM.Internal.String

Monad e => EncodeM e String UTF8ByteString Source # 
Instance details

Defined in LLVM.Internal.String

Orphan instances

MonadIO d => DecodeM d ShortByteString CString Source # 
Instance details

MonadIO d => DecodeM d ByteString CString Source # 
Instance details

MonadIO d => DecodeM d String CString Source # 
Instance details

Methods

decodeM :: CString -> d String Source #

MonadAnyCont IO e => EncodeM e ShortByteString CString Source # 
Instance details

MonadAnyCont IO e => EncodeM e ByteString CString Source # 
Instance details

MonadAnyCont IO e => EncodeM e String CString Source # 
Instance details

Methods

encodeM :: String -> e CString Source #

(MonadIO d, DecodeM IO s (OwnerTransfered CString)) => DecodeM d s (Ptr (OwnerTransfered CString)) Source # 
Instance details

MonadIO d => DecodeM d ShortByteString (OwnerTransfered CString) Source # 
Instance details

MonadIO d => DecodeM d ByteString (OwnerTransfered CString) Source # 
Instance details

MonadIO d => DecodeM d String (OwnerTransfered CString) Source # 
Instance details

(Integral i, Storable i, MonadIO d, DecodeM d s (CString, i)) => DecodeM d s (Ptr i -> IO CString) Source # 
Instance details

Methods

decodeM :: (Ptr i -> IO CString) -> d s Source #

(Integral i, MonadIO d) => DecodeM d ShortByteString (Ptr CChar, i) Source # 
Instance details

Methods

decodeM :: (Ptr CChar, i) -> d ShortByteString Source #

(Integral i, MonadIO d) => DecodeM d ByteString (Ptr CChar, i) Source # 
Instance details

Methods

decodeM :: (Ptr CChar, i) -> d ByteString Source #

(Integral i, MonadIO d) => DecodeM d String (Ptr CChar, i) Source # 
Instance details

Methods

decodeM :: (Ptr CChar, i) -> d String Source #

(Integral i, MonadAnyCont IO e) => EncodeM e ShortByteString (Ptr CChar, i) Source # 
Instance details

Methods

encodeM :: ShortByteString -> e (Ptr CChar, i) Source #

(Integral i, MonadAnyCont IO e) => EncodeM e ByteString (Ptr CChar, i) Source # 
Instance details

Methods

encodeM :: ByteString -> e (Ptr CChar, i) Source #

(Integral i, MonadAnyCont IO e) => EncodeM e String (Ptr CChar, i) Source # 
Instance details

Methods

encodeM :: String -> e (Ptr CChar, i) Source #

(Monad e, EncodeM e String c) => EncodeM e (Maybe String) (NothingAsEmptyString c) Source # 
Instance details