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 355, Sat Jun 26 13:17:30 1999 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"
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.355

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