[MLton-user] Order of Vector.tabulate

Neal Glew neal at glew.name
Wed Mar 25 06:34:53 PST 2009


Is it reasonable or not to assume that Vector.tabulate (n, f) will
call f 0, f 1, ..., and then f (n-1)?  For example, if g reads
something from a file and I write Vector.tabulate (n, fn _ => g ())
will I get a vector of somethings from the file in order?  If not,
what should I use instead?

Neal



More information about the MLton-user mailing list