[MLton] Re: [MLton-user] beta testers / release candidate

Henry Cejtin henry.cejtin at sbcglobal.net
Sun Aug 19 21:16:08 PDT 2007


It was probably there before, but I just noticed the fromPoly and toPoly
functions in the MLTON_MONO_ARRA signatures.  Given the mutability of arrays
(polymorphic or not), these are pretty strange `functions'.  I.e., if I call
fromPoly on a polymorhpic array, then mutate either the result or the arg,
the other is also mutated.  Hence it is NOT true that they are just
constant-time conversions.



More information about the MLton mailing list