
24 Sep
2008
24 Sep
'08
12:06 p.m.
I believe this was voiced as an SML issue more than an OCaml issue, though honestly I don't know enough of the differences to distinguish them. Before I mentioned that function/prefix application always binds tighter than operator/infix application, he was using many redundant parentheses, thanks to defensive programming against whichever dialect was at fault.
It was apparently a programmer issue rather than a language issue: SML's precedence rules are pretty much identical to Haskell's in this regard. Stefan