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 1126 - (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 : blume 1126 fun atInit initPaths _ = (Controls.init (); initPaths ())
13 : blume 361 in
14 :     fun install initPaths =
15 :     ignore (C.addCleaner (label, [C.AtInit], atInit initPaths))
16 :     fun uninstall () = ignore (C.removeCleaner label)
17 :     end
18 :     end

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