
26 Feb
2009
26 Feb
'09
4:49 p.m.
Hello again, I found another problem I dont understand: evalOp :: Op -> (Integer -> Integer -> Integer) evalOp op = case op of Plus -> (+) Minus -> \x y -> max 0 (x-y) Times -> (*) brings a parse error, too: Interpreter.hs:92:3: Parse failure, Parse error in expression: DVar [Ident "x",Ident "... The mentioned position is the "T" of "Times" in the last line. Regards, Martin.