char package:attoparsec

Match a specific character.
Match a specific character, but return its Word8 value.
Simple, efficient, character-oriented combinator parsing for ByteString strings, loosely based on the Parsec library.
Deprecated: This module will be removed in the next major release.
Match any character.
Match any character except the given one.
Match any character, to perform lookahead. Returns Nothing if end of input has been reached. Does not consume any input. Note: Because this parser does not fail, do not use it with combinators such as many, because such parsers loop until a failure occurs. Careless use will thus result in an infinite loop.
Match any character, to perform lookahead. Does not consume any input, but will fail if end of input has been reached.
Map an element to the corresponding character. The first argument is ignored.
Match any character, to perform lookahead. Returns Nothing if end of input has been reached. Does not consume any input. Note: Because this parser does not fail, do not use it with combinators such as many, because such parsers loop until a failure occurs. Careless use will thus result in an infinite loop.