14 Mar
2001
14 Mar
'01
1:12 a.m.
Jon Fairbairn wrote:
I think so. The language grammar requires (if I read it correctly) that the expr in an aexp of the form (op expr) have a higher priority than op.
On Mon, 12 Mar 2001 andreas.marth@daimlerchrysler.com wrote:
So why is (^2*3) not equvalent to \a->a^2*3 ?
Because it's being parsed as (^(2*3)) when it should be rejected.
Jón
Yes, this is one of a few known and relatively insignificant differences between Hugs 98 and the Haskell report. See further the Hugs manual, section 9.1: http://www.cse.ogi.edu/PacSoft/projects/Hugs/pages/hugsman/diffs.html All the best, Johan