Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Parsers for primitive values and types.
Synopsis
- pPrimValue :: Parsec Void Text PrimValue
- pPrimType :: Parsec Void Text PrimType
- pFloatType :: Parsec Void Text FloatType
- pIntType :: Parsec Void Text IntType
- constituent :: Char -> Bool
- lexeme :: Parsec Void Text a -> Parsec Void Text a
- keyword :: Text -> Parsec Void Text ()
- whitespace :: Parsec Void Text ()
Documentation
Building blocks
constituent :: Char -> Bool Source #
Is this character a valid member of an identifier?
lexeme :: Parsec Void Text a -> Parsec Void Text a Source #
Consume whitespace after the provided parser, if it succeeds.