Module
Parsing.String.Basic
- Package
- purescript-parsing
- Repository
- purescript-contrib/purescript-parsing
Basic String parsers derived from primitive String parsers.
#intDecimal Source
intDecimal :: forall m. ParserT String m IntParser based on the Data.Int.fromString function.
This should be the inverse of show :: String -> Int.
Examples of strings which can be parsed by this parser:
"3""-3""+300"
#whiteSpace Source
whiteSpace :: forall m. ParserT String m StringMatch zero or more whitespace characters satisfying
Data.CodePoint.Unicode.isSpace. Always succeeds.
#skipSpaces Source
skipSpaces :: forall m. ParserT String m UnitSkip whitespace characters and throw them away. Always succeeds.