incorrect parsing

Ian Lynagh igloo at earth.li
Thu Jan 3 14:41:57 EST 2002


On Thu, Jan 03, 2002 at 05:27:43PM -0000, Simon Marlow wrote:
> 
> 	'(' exp(i+1) op(a,i) ')'
> 	'(' op(a,i) exp(i+1) ')'
> 
> 	'(' lexp(i) op(l,i) ')'
> 	'(' op(r,i) rexp(i) ')'
> 
> And for the sake of fewer ambiguities, replace each op(a,i) with op(n,i)
> in the existing two section productions.

(+ 5) would not then be valid.


Ian





More information about the Glasgow-haskell-bugs mailing list