]> Joshua Wise's Git repositories - snipe.git/blame - top/smlnj-specific.sml
Rename output binary from l5c to snipe
[snipe.git] / top / smlnj-specific.sml
CommitLineData
5c79bb68
JW
1signature SUQ =
2sig
3 val Word32_lsh : Word32.word * Word32.word -> Word32.word
4 val Word32_rsh : Word32.word * Word32.word -> Word32.word
5end
6
7structure Suq :> SUQ =
8struct
9 fun loseBit (x: Word32.word) : word = Word31.fromInt (Word32.toInt x)
10 fun Word32_lsh (a, b) = Word32.<< (a, loseBit b)
11 fun Word32_rsh (a, b) = Word32.~>> (a, loseBit b)
12end
This page took 0.029243 seconds and 5 git commands to generate.