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 361 - (download) (annotate)
Wed Jun 30 06:44:04 1999 UTC (20 years, 6 months ago) by blume
File size: 521 byte(s)
bootstrapping works now (mainly); PathConfig code cleaned majorly
(*
 * 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 ();
	     SrcPath.sync ())
    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