]> Joshua Wise's Git repositories - snipe.git/blame_incremental - top/smlnj-specific.sml
Add string pasting support to the gramamr.
[snipe.git] / top / smlnj-specific.sml
... / ...
CommitLineData
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.025719 seconds and 4 git commands to generate.