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

SCM Repository

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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 651 - (view) (download)

1 : blume 361 (*
2 :     * Cleanup-code to be executed at start-up.
3 :     *
4 :     * (C) 1999 Lucent Technologies, Bell Laboratories
5 :     *
6 :     * Author: Matthias Blume (blume@kurims.kyoto-u.ac.jp)
7 :     *)
8 :     structure Cleanup = struct
9 :     local
10 :     structure C = SMLofNJ.Internals.CleanUp
11 :     val label = "CM-Cleanup"
12 :     fun atInit initPaths _ =
13 :     (EnvConfig.init ();
14 :     initPaths ();
15 :     SrcPath.sync ())
16 :     in
17 :     fun install initPaths =
18 :     ignore (C.addCleaner (label, [C.AtInit], atInit initPaths))
19 :     fun uninstall () = ignore (C.removeCleaner label)
20 :     end
21 :     end

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