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 [EMAIL PROTECTED] 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

_______________________________________________
Hugs-Users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/hugs-users

Reply via email to