term :: Parser Int
term = do f <- factor
               do symbol "*"
               e <- expr
               return (f * t)    <--------------- replace t with e
          +++ return f

  
I hope that helps,
Carter Schonwald
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to