[Haskell-cafe] re parser question

Carter Tazio Schonwald cartazio at yahoo.com
Tue Mar 15 21:08:30 EST 2005



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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org//pipermail/haskell-cafe/attachments/20050315/e2b5ce37/attachment.htm


More information about the Haskell-Cafe mailing list