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

SCM Repository

[smlnj] Diff of /sml/trunk/src/cm/semant/group-reg.sml
ViewVC logotype

Diff of /sml/trunk/src/cm/semant/group-reg.sml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 354, Fri Jun 25 08:36:12 1999 UTC revision 651, Thu Jun 1 18:34:03 2000 UTC
# Line 28  Line 28 
28    
29      fun register gr (p, s) = gr := SrcPathMap.insert (!gr, p, s)      fun register gr (p, s) = gr := SrcPathMap.insert (!gr, p, s)
30      fun lookup gr p = valOf (SrcPathMap.find (!gr, p))      fun lookup gr p = valOf (SrcPathMap.find (!gr, p))
31            handle Option => raise Fail ("GroupReg.lookup " ^ SrcPath.descr p)
32      fun registered gr g = isSome (SrcPathMap.find (!gr, g))      fun registered gr g = isSome (SrcPathMap.find (!gr, g))
33      fun error gr (g, r) = GenericVC.ErrorMsg.error (lookup gr g) r      fun error gr (g, r) = GenericVC.ErrorMsg.error (lookup gr g) r
34  end  end

Legend:
Removed from v.354  
changed lines
  Added in v.651

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