Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- type ProducerGroup = ProducerGroup_ ()
- parseText :: Parser Text
- parseSimpleChar :: Parser Char
- specialChars :: [Char]
- parseGroup :: Parser ProducerGroup
- parseReplicatedUnit :: Parser ProducerGroup
- type Squasher = ProducerGroup -> ProducerGroup -> ProducerGroup
- type Replicator = ProducerGroup -> ProducerGroup
- parseReplicator :: Parser Replicator
- parseKleenePlus :: Parser Replicator
- parseKleeneStar :: Parser Replicator
- parseOptional :: Parser Replicator
- parseFoldApp :: Parser Replicator
- parseSquasher :: Parser Squasher
- parseUnit :: Parser ProducerGroup
- bracketed :: Char -> Char -> Parser a -> Parser a
- parseHandle :: Parser ProducerGroup
- parseFile :: Parser FilePath
- parseRanges :: Parser [Range]
- parseRange :: Parser Range
- parseIntRange :: Parser Range
- parseCharRange :: Parser Range
Documentation
type ProducerGroup = ProducerGroup_ () Source #
specialChars :: [Char] Source #
type Squasher = ProducerGroup -> ProducerGroup -> ProducerGroup Source #
type Replicator = ProducerGroup -> ProducerGroup Source #
parseHandle :: Parser ProducerGroup Source #
Parse a Handle-like reference, preceded by an @
sign. A single dash
(-
) is interpreted as stdin
, any other string is used as a file path.
parseRanges :: Parser [Range] Source #
Parse several ranges
Example:
[a-zA-Z0-6]
parseRange :: Parser Range Source #
Parse a range of the form 'a-z' (int or char)