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/paths/pathconfig.sml
ViewVC logotype

Annotation of /sml/trunk/src/cm/paths/pathconfig.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 309 - (view) (download)

1 : blume 265 (* just a placeholder so far *)
2 :    
3 : blume 267 (*
4 :     * Configurable path anchors for new CM.
5 :     *
6 :     * (C) 1999 Lucent Technologies, Bell Laboratories
7 :     *
8 :     * Author: Matthias Blume (blume@kurims.kyoto-u.ac.jp)
9 :     *)
10 :    
11 : blume 265 signature PATHCONFIG = sig
12 :     val configAnchor : string -> (unit -> string) option
13 :     end
14 :    
15 : blume 309 (*
16 :     * The names of config anchors must be names of actual files.
17 :     * Function configAnchor will map the name of the anchor to
18 :     * the directory that contains the corresponding file.
19 :     *)
20 : blume 265 structure PathConfig :> PATHCONFIG = struct
21 :     (* this is bogus -- should not be hard-wired like this *)
22 : blume 309 fun configAnchor "smlnj-lib.cm" =
23 :     SOME (fn () => "/home/blume/ML/current/lib")
24 : blume 265 | configAnchor _ = NONE
25 :     end

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