.LP This one is a bit more serious: In the MLton.Word and MLton.Word8 structures, the ~ function does NOT bitwise complement. It forms the additive inverse. .LP Note, the beharior is correct, the documentation is wrong.