[MLton-commit] r6473

Vesa Karvonen vesak at mlton.org
Thu Mar 13 16:44:49 PST 2008


Now word8 is the most basic element.
----------------------------------------------------------------------

U   mltonlib/trunk/com/ssh/generic/unstable/detail/value/pickle.sml

----------------------------------------------------------------------

Modified: mltonlib/trunk/com/ssh/generic/unstable/detail/value/pickle.sml
===================================================================
--- mltonlib/trunk/com/ssh/generic/unstable/detail/value/pickle.sml	2008-03-14 00:34:25 UTC (rev 6472)
+++ mltonlib/trunk/com/ssh/generic/unstable/detail/value/pickle.sml	2008-03-14 00:44:49 UTC (rev 6473)
@@ -694,7 +694,7 @@
                         else intInf
 
          val char = char
-         val bool = iso' char (swap Char.isoInt <--> Bool.isoInt)
+         val bool = iso' word8 (swap Word8.isoInt <--> Bool.isoInt)
          val int =
              if case Int.precision of NONE => false | SOME n => n <= Word.wordSize
              then mkFixedInt WordOps.ops Word.isoIntX




More information about the MLton-commit mailing list