[MLton-user] Hex Constants

Matthew Fluet fluet at tti-c.org
Fri May 25 16:49:29 PDT 2007

Neal Glew wrote:
> Can someone who knows the vagaries of SML syntax tell be how to get
> 0xdeadbeef as a Word.t in a nice way?  Mlton complains that that
> constant is too big.


The 'w' says that it is a word constant.  Without the 'w', you are 
defining an integer constant (in hex).

More information about the MLton-user mailing list