Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] View of /sml/trunk/src/cm/main/cleanup.sml
ViewVC logotype

View of /sml/trunk/src/cm/main/cleanup.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 666 - (download) (annotate)
Fri Jun 16 08:27:00 2000 UTC (19 years, 11 months ago) by blume
File size: 498 byte(s)
merging back my devel changes (anchor environments)
(*
 * Cleanup-code to be executed at start-up.
 *
 * (C) 1999 Lucent Technologies, Bell Laboratories
 *
 * Author: Matthias Blume (blume@kurims.kyoto-u.ac.jp)
 *)
structure Cleanup = struct
    local
	structure C = SMLofNJ.Internals.CleanUp
	val label = "CM-Cleanup"
	fun atInit initPaths _ =
	    (EnvConfig.init ();
	     initPaths ())
    in
	fun install initPaths =
	    ignore (C.addCleaner (label, [C.AtInit], atInit initPaths))
	fun uninstall () = ignore (C.removeCleaner label)
    end
end

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0