[MLton] Is this really legal to allow?

Henry Cejtin henry.cejtin at sbcglobal.net
Thu Oct 22 14:41:46 PDT 2009


I   see   that   MLton   (both  the 20070826 version and the current SVN
version) consider the following to be legal:

    val x: char vector = "Is this legal?"

I know, of course, that in MLton CharVector.vector is just the same   as
char vector, but is it legal to make that visible?

The   argument   against   this   is  that  the resulting code certainly
won't be compiled by most ML compilers.



More information about the MLton mailing list