Module

Data.Eulalie.String

Package
purescript-eulalie
Repository
bodil/purescript-eulalie

#many Source

many :: Parser Char String -> Parser Char String

Matches the given parser zero or more times, returning a string of the entire match.

#many1 Source

many1 :: Parser Char String -> Parser Char String

Matches the given parser one or more times, returning a string of the entire match.

#fromChar Source

fromChar :: Parser Char Char -> Parser Char String

Turns a parser of Char into a parser of String.

#char Source

char :: Char -> Parser Char String

Matches the exact Char provided, returning it as a string.

#notChar Source

notChar :: Char -> Parser Char String

Matches any one character except the one provided, returning a string.

#string Source

string :: String -> Parser Char String

Matches the exact string provided.

#oneOf Source

oneOf :: forall f. Functor f => Foldable f => f String -> Parser Char String

Matches one of a list of strings.

#spaces Source

spaces :: Parser Char String

Matches zero or more whitespace characters.

#spaces1 Source

spaces1 :: Parser Char String

Matches one or more whitespace characters.

#notSpaces Source

notSpaces :: Parser Char String

Matches zero or more non-whitespace characters.

#notSpaces1 Source

notSpaces1 :: Parser Char String

Matches one or more non-whitespace characters.

#int Source

int :: Parser Char Int

Parses a positive or negative integer.

#float Source

float :: Parser Char Number

Parses a positive or negative floating point number.

#quotedString Source

quotedString :: Parser Char String

Parses a double quoted string, with support for escaping double quotes inside it, and returns the inner string. Does not perform any other form of string escaping.