
1 Apr
2009
1 Apr
'09
5:50 a.m.
On Tue, Mar 31, 2009 at 11:34 PM, Antoine Latter
You should be able to use the function "parse" from the parsec package like so:
parse parseExp "name of source for error reporting" "(some lisp expression")
The function "parse" returns a value of type (Either ParseError a), where in this case the type-var 'a' wil be a LispVal.
Does that help?
That was perfect, thanks.