equal
deleted
inserted
replaced
25 (** ML system related **) |
25 (** ML system related **) |
26 |
26 |
27 (*low-level pointer equality*) |
27 (*low-level pointer equality*) |
28 fun pointer_eq (_: 'a, _: 'a) = false; |
28 fun pointer_eq (_: 'a, _: 'a) = false; |
29 |
29 |
30 (*downgraded IntInf*) |
30 |
|
31 (* integer compatibility -- downgraded IntInf *) |
|
32 |
|
33 structure Time = |
|
34 struct |
|
35 open Time; |
|
36 val fromMilliseconds = Time.fromMilliseconds o IntInf.fromInt; |
|
37 val fromSeconds = Time.fromSeconds o IntInf.fromInt; |
|
38 end; |
|
39 |
31 structure IntInf = |
40 structure IntInf = |
32 struct |
41 struct |
33 fun divMod (x, y) = (x div y, x mod y); |
42 fun divMod (x, y) = (x div y, x mod y); |
34 open Int; |
43 open Int; |
35 end; |
44 end; |