t; String -> [(Expr, Expr, String)]
parseBinaryOp op str = let (tokenF,e1,op,e2,tokenB) =
I am not sure how to go about separating the string for how I need it
using my other functiuons.
Ryan
________
> Date: Sun, 9 Dec 2007 13:07:23 -0800
> From: [
On 12/9/07, Ryan Bloor <[EMAIL PROTECTED]> wrote:
>
> hi
>
> I have a function parseInt... which needs an error guard for when the input
> is not an Int.
>
> parseInt :: Parser
> parseInt [] = []
> parseInt xs = let (digits, rest) = span isDigit (removeSpace xs)
> in [(EInt (read di