Ooh, interesting. I'm going to look into this..
On 10/28/08, Reiner Pope <[EMAIL PROTECTED]> wrote: > Unfortunately, I've uncovered a problem in the parser. For instance, > with your module, [$hs|1+1*2|] evaluates to 4 rather than 3. This > seems to be a general problem with infix operators, which I believe > arises since haskell-src-exts isn't given the fixity declarations for > + and *, so it doesn't know to bind (*) tighter than (+). I don't see > how this problem can even be resolved without modifying Template > Haskell: given that the operators reside in user code, there is no way > to find their fixity. _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe