RE: [Haskell] Haskell implementation of infixr and infixl/priorities

2004-10-25 Thread Mark P Jones
Hi Peter, | I´m progarmming a parser for functional programs. Now | I want to implement the infixL and infixR feature to increase | the readability of the code. I would be very glad if anyone | can send me some information about the implementation of | this feature of the Haskell parser or where

Re: [Haskell] Haskell implementation of infixr and infixl/priorities

2004-10-25 Thread Bernie Pope
On Fri, Oct 22, 2004 at 06:20:41PM +0200, Peter Theissen wrote: Hi, I want to implement the infixL and infixR feature to increase the readability of the code. I would be very glad if anyone can send me some information about the implementation of this feature of the Haskell parser or where

Re: [Haskell] Haskell implementation of infixr and infixl/priorities

2004-10-25 Thread Johannes Waldmann
Have you looked at Parsec.buildExpressionParser: http://www.cs.uu.nl/~daan/download/parsec/parsec.html (see section Expressions). This allows very concise programs, and you don't need to install any extra library. -- -- Johannes Waldmann, Tel/Fax: (0341) 3076 6479 / 6480 -- --

Re: [Haskell] Haskell implementation of infixr and infixl/priorities

2004-10-22 Thread Ben Rudiak-Gould
Peter Theissen wrote: I´m progarmming a parser for functional programs. Now I want to implement the infixL and infixR feature to increase the readability of the code. I would be very glad if anyone can send me some information about the implementation of this feature of the Haskell parser or