Char -base
A document of height and width 1, containing a literal character.
char c parses a single character c. Returns the parsed character (i.e. c).
> semiColon = char ';'
This lexeme parser parses a single literal character. Returns the literal character value. This parsers deals correctly with escape sequences. The literal character is parsed according to the grammar rules defined in the Haskell report (which matches most programming languages quite closely).
Fast unicode character sets based on complemented PATRICIA tries
Version 0.3.2
Mozilla have developed a robust and efficient character set detection algorithm for use in their web browsers. The algorithm is able to detect all of the most frequently encountered character encodings totally automatically.
This library wraps up their library and exposes a very simple Haskell interface to it. The library is portable, and is confirmed to work on both Unix and Windows.
Version 1.0
A library for generating 2D Charts and Plots, based upon the cairo graphics library.
Version 0.15
Utility functions for using the chart library with GTK
Version 0.15
Manipulate ByteStrings using Char operations. All Chars will be truncated to 8 bits. It can be expected that these functions will run at identical speeds to their Word8 equivalents in Data.ByteString.
More specifically these byte strings are taken to be in the subset of Unicode covered by code points 0-255. This covers Unicode Basic Latin, Latin-1 Supplement and C0+C1 Controls.
See:
* http://www.unicode.org/charts/
* http://www.unicode.org/charts/PDF/U0000.pdf
* http://www.unicode.org/charts/PDF/U0080.pdf
This module is intended to be imported qualified, to avoid name clashes with Prelude functions. eg.
> import qualified Data.ByteString.Char8 as B
The Char8 interface to bytestrings provides an instance of IsString for the ByteString type, enabling you to use string literals, and have them implicitly packed to ByteStrings. Use -XOverloadedStrings to enable this.
Manipulate lazy ByteStrings using Char operations. All Chars will be truncated to 8 bits. It can be expected that these functions will run at identical speeds to their Word8 equivalents in Data.ByteString.Lazy.
This module is intended to be imported qualified, to avoid name clashes with Prelude functions. eg.
> import qualified Data.ByteString.Lazy.Char8 as C
Commonly used character parsers.
Show more results