signature MLTON_WORD =
sig
type t
val bswap: t -> t
val rol: t * word -> t
val ror: t * word -> t
end
-
type tthe type of words. For
MLton.LargeWordthis isLargeWord.word, forMLton.Wordthis isWord.word, forMLton.Word8this isWord8.word, forMLton.Word16this isWord16.word, forMLton.Word32this isWord32.word, forMLton.Word64this isWord64.word. -
bswap wbyte swap.
-
rol (w, w')rotates left (circular).
-
ror (w, w')rotates right (circular).