<div class="gmail_quote">On Tue, Mar 31, 2009 at 11:34 PM, Antoine Latter <span dir="ltr">&lt;<a href="mailto:aslatter@gmail.com">aslatter@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div class="h5">
</div></div>You should be able to use the function &quot;parse&quot; from the parsec package like so:<br>
<br>
&gt; parse parseExp &quot;name of source for error reporting&quot; &quot;(some lisp expression&quot;)<br>
<br>
The function &quot;parse&quot; returns a value of type (Either ParseError a),<br>
where in this case the type-var &#39;a&#39; wil be a LispVal.<br>
<br>
Does that help?<br>
</blockquote></div><br>That was perfect, thanks.<br>