String +Foreign.C

module Foreign.C.String
base Foreign.C.String
Utilities for primitive marshalling of C strings. The marshalling converts each Haskell character, representing a Unicode code point, to one or more bytes in a manner that, by default, is determined by the current locale. As a consequence, no guarantees can be made about the relative length of a Haskell string and its corresponding C string, and therefore all the marshalling routines include memory allocation. The translation between Unicode and the encoding of the current locale may be lossy.
package string
package
Common things for strings Version 0.3.1
package string-class
package
String class library Version 0.1.5.1
package string-combinators
package
string-combinators provides handy polymorphic functions to build and combine string-like values. All functions are polymorphic in their string-like type but usually have a Monoid or IsString constraint. Version 0.6.0.4
package string-conversions
package
Provides a simple type class for converting values of different string types into values of other string types. Version 0.3.0.1
package string-qq
package
QuasiQuoter for non-interpolated strings, texts and bytestrings. Version 0.0.2
package string-quote
package
QuasiQuoter for non-interpolated strings, texts and bytestrings. Version 0.0.1
package string-similarity
package
algorithms for finding the longest common substring in a set of documents Version 0.1.0.0
package stringable
package
Data.Stringable provides a type class with a set of functions for converting to and from the most often used string-linke types in Haskell. Version 0.1.2
package stringbuilder
package
https://github.com/sol/stringbuilder#readme Version 0.4.0
package stringlike
package
Transformations to several string-like types Version 0.0.0
package stringprep
package
Implements the StringPrep algorithm Version 0.1.5
package strings
package
This package provides various functions for working with strings, such as join, split, toUppercase, etc. The functions in this package work with all kinds of strings such as Text, ByteString, String, and their respective lazy counter parts. There is also an interface which is agnostic of the underlying string type. v1.0.2: Fixed an issue with strSplitAll. Applied to the empty string it should return an empty list, but it returned a list containing a single empty string. It now returns correctly the empty list. v1.1: Added strToUpper, strToLower, strCapitalize, strCons, and  strMap. Also sCapitalize, sCons, and sMap. Version 1.1
package stringsearch
package
This package provides several functions to quickly search for substrings in strict or lazy ByteStrings. It also provides functions for breaking or splitting on substrings and replacing all occurrences of a substring (the first in case of overlaps) with another. GHC before 6.10 are no longer supported, other compilers only if they support BangPatterns. If you need it to work with other compilers, send a feature request. Version 0.3.6.5
package stringtable-atom
package
Memoize Strings as Atoms for fast comparison and sorting, with maps and sets Version 0.0.6.2
type CString = Ptr CChar
base Foreign.C.String
A C string is a reference to an array of C characters terminated by NUL.
type CStringLen = (Ptr CChar, Int)
base Foreign.C.String
A string with explicit length information in bytes instead of a terminating NUL (allowing NUL characters in the middle of the string).
type CWString = Ptr CWchar
base Foreign.C.String
A C wide string is a reference to an array of C wide characters terminated by NUL.
type CWStringLen = (Ptr CWchar, Int)
base Foreign.C.String
A wide character string with explicit length information in CWchars instead of a terminating NUL (allowing NUL characters in the middle of the string).
newCAString :: String -> IO CString
base Foreign.C.String
Marshal a Haskell string into a NUL terminated C string. * the Haskell string may not contain any NUL characters * new storage is allocated for the C string and must be explicitly freed using Foreign.Marshal.Alloc.free or Foreign.Marshal.Alloc.finalizerFree.

Show more results