[MLton-user] SML newbie mistakes
Andreas Rossberg
rossberg at ps.uni-sb.de
Mon Aug 14 02:52:46 PDT 2006
Vesa Karvonen wrote:
> === (op *) ===
>
> It is common mistake to parenthesize {{{op *}}} as {{{(op *)}}}.
> Unfortunately, {{{*)}}} is considered a comment terminator and will cause
> a syntax error.
Just a quick note: with SML'97 this should no longer be an error. It's a
bug of SML/NJ to reject it, all other compilers happily accept it
without extra spacing.
Cheers,
- Andreas
More information about the MLton-user
mailing list