Copyright | (c) The University of Glasgow 2011 |
---|---|
License | see libraries/ghc-prim/LICENSE |
Maintainer | cvs-ghc@haskell.org |
Stability | internal |
Portability | non-portable (GHC Extensions) |
Safe Haskell | None |
Language | Haskell2010 |
GHC.CString
Contents
Description
GHC C strings definitions (previously in GHC.Base). Use GHC.Exts from the base package instead of importing this module directly.
Synopsis
- unpackCString# :: Addr# -> [Char]
- unpackAppendCString# :: Addr# -> [Char] -> [Char]
- unpackFoldrCString# :: Addr# -> (Char -> a -> a) -> a -> a
- cstringLength# :: Addr# -> Int#
- unpackCStringUtf8# :: Addr# -> [Char]
- unpackAppendCStringUtf8# :: Addr# -> [Char] -> [Char]
- unpackFoldrCStringUtf8# :: Addr# -> (Char -> a -> a) -> a -> a
- unpackNBytes# :: Addr# -> Int# -> [Char]
Ascii variants
unpackCString# :: Addr# -> [Char] Source #
unpackFoldrCString# :: Addr# -> (Char -> a -> a) -> a -> a Source #
cstringLength# :: Addr# -> Int# Source #
Utf variants
unpackCStringUtf8# :: Addr# -> [Char] Source #
unpackFoldrCStringUtf8# :: Addr# -> (Char -> a -> a) -> a -> a Source #