llvm-hs-5.1.1: General purpose LLVM bindings

Safe HaskellNone
LanguageHaskell98

LLVM.Internal.String

Contents

Documentation

Orphan instances

MonadIO d => DecodeM d ShortByteString CString Source # 
MonadIO d => DecodeM d ByteString CString Source # 
MonadIO d => DecodeM d String CString Source # 

Methods

decodeM :: CString -> d String Source #

MonadAnyCont IO e => EncodeM e ShortByteString CString Source # 
MonadAnyCont IO e => EncodeM e ByteString CString Source # 
MonadAnyCont IO e => EncodeM e String CString Source # 

Methods

encodeM :: String -> e CString Source #

(MonadIO d, DecodeM IO s (OwnerTransfered CString)) => DecodeM d s (Ptr (OwnerTransfered CString)) Source # 
MonadIO d => DecodeM d ShortByteString (OwnerTransfered CString) Source # 
MonadIO d => DecodeM d ByteString (OwnerTransfered CString) Source # 
MonadIO d => DecodeM d String (OwnerTransfered CString) Source # 
(Integral i, Storable i, MonadIO d, DecodeM d s (CString, i)) => DecodeM d s (Ptr i -> IO CString) Source # 

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

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