SCM Repository
View of /sml/trunk/src/cm/util/tstamp.sml
Parent Directory
|
Revision Log
Revision 274 -
(download)
(annotate)
Fri May 14 05:23:02 1999 UTC (21 years, 11 months ago) by blume
File size: 564 byte(s)
Fri May 14 05:23:02 1999 UTC (21 years, 11 months ago) by blume
File size: 564 byte(s)
stage0 -- links fine (for testing); parses correctly (apparently)
structure TStamp = struct datatype t = NOTSTAMP | STABLETSTAMP of Time.time | TSTAMP of Time.time (* * If f1 depends on f2, then earlier (modtime f1, modtime f2) implies * that f1 needs to be recompiled... * *) fun earlier (_, NOTSTAMP) = false (* prerequisite missing *) | earlier (NOTSTAMP, _) = true (* object missing *) | earlier (STABLETSTAMP _, _) = false (* object stable *) | earlier (TSTAMP t1, STABLETSTAMP t2) = Time.< (t1, t2) | earlier (TSTAMP t1, TSTAMP t2) = Time.< (t1, t2) end
root@smlnj-gforge.cs.uchicago.edu | ViewVC Help |
Powered by ViewVC 1.0.0 |