[MLton] Broken CVS

Stephen Weeks MLton@mlton.org
Wed, 15 Dec 2004 10:24:43 -0800


> The original poster encountered a legitimate bug; I checked in a fix
> this morning at 9:30AM EST.  The problem was along the following lines in
> basis-library/misc/primitive.sml:
> 
> structure Char2 =
>   struct
>     type t = char16
>   end
> 
> ...
> 
> structure Char2 =
>   struct
>     open Char2
>     val op < = _prim "WordU16_lt": char * char -> bool;
>   end
> 
> Hence, the "char" in the type of Char2.< was the top-level char = char8.

Ah yes.  Thanks.  It really would be nice if the basis library
implementation used our "t" convention, and then added the silly type
names at the very end.