Safe Haskell | None |
---|---|
Language | Haskell2010 |
Language.PureScript.CST.Parser
Documentation
parseDecl :: Parser (Declaration ()) #
parseIdent :: Parser (Name Ident) #
parseModule :: [LexResult] -> Either (NonEmpty ParserError) (PartialResult (Module ())) #
parseImportDeclP :: Parser (ImportDecl ()) #
parseDeclP :: Parser (Declaration ()) #
parseExprP :: Parser (Expr ()) #
parseTypeP :: Parser (Type ()) #
parse :: Text -> ([ParserWarning], Either (NonEmpty ParserError) (Module ())) #
data PartialResult a #
Constructors
PartialResult | |
Fields
|
Instances
Functor PartialResult # | |
Defined in Language.PureScript.CST.Parser Methods fmap :: (a -> b) -> PartialResult a -> PartialResult b # (<$) :: a -> PartialResult b -> PartialResult a # |