| Copyright | (C) 2013 Amgen Inc. |
|---|---|
| Safe Haskell | None |
| Language | Haskell2010 |
Foreign.R.Parse
Description
Bindings for R/R_ext/Parse.h.
Documentation
parseVector :: In a [Nil, String] => SEXP s String -> Int -> Ptr CInt -> SEXP s a -> IO (SEXP s Expr) Source #
parseVector text num status source parses the input string into an AST.
source, if provided, names the origin of text (e.g. a filename). num
limits the number of expressions to parse, or -1 if no limit.
data ParseStatus Source #
The return code of a call to parseVector, indicating whether the parser
failed or succeeded.
Constructors
| PARSE_NULL | |
| PARSE_OK | |
| PARSE_INCOMPLETE | |
| PARSE_ERROR | |
| PARSE_EOF |
Instances