The in predicate clashes with the in keyword in for loops necessitating the use of excessive parens, e.g.
for (x,y) if x > y in pairlist do
assert(x>y).
end
produces the error,
error: expected 'in' expression in for loop found 'do'.
This is due to the fact that in pairlist is interpreted as part of the conditional pattern
(x,y) if x > y in pairlist
By removing the predicate in this ambiguity will disappear.
The
inpredicate clashes with theinkeyword inforloops necessitating the use of excessive parens, e.g.produces the error,
This is due to the fact that
in pairlistis interpreted as part of the conditional patternBy removing the predicate
inthis ambiguity will disappear.