[MLton] cvs commit: rewrite of MLton.Random.alphaNumString

Matthew Fluet fluet@cs.cornell.edu
Sun, 28 Dec 2003 18:49:17 -0500 (EST)


Sorry, my code should have:

val r : word ref = ref 0wx0

There's no need to call rand () before the first call to alphaNumChar, as
the count is already set for a refresh.  (Plus, we'll save dozens of
precious nanoseconds ;-)