[MLton-user] SML newbie mistakes

Stephen Weeks sweeks at sweeks.com
Mon Aug 14 10:36:05 PDT 2006


> > 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.

Moscow ML 2.01 (January 2004) also rejects it.  Is there some later
version I should be using?



More information about the MLton-user mailing list