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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 267 - (download) (annotate)
Sat May 8 13:53:45 1999 UTC (20 years, 6 months ago) by blume
File size: 569 byte(s)
more fleshing out semant
(* just a placeholder so far *)

(*
 * Configurable path anchors for new CM.
 *
 * (C) 1999 Lucent Technologies, Bell Laboratories
 *
 * Author: Matthias Blume (blume@kurims.kyoto-u.ac.jp)
 *)

signature PATHCONFIG = sig
    val configAnchor : string -> (unit -> string) option
end

structure PathConfig :> PATHCONFIG = struct
    (* this is bogus -- should not be hard-wired like this *)
    fun configAnchor "basis" = SOME (fn () => "/usr/local/smlnj/lib/basis")
      | configAnchor "smlnj" = SOME (fn () => "/usr/local/smlnj/lib")
      | configAnchor _ = NONE
end

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