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/compiler/TopLevel/interact/intconfig.sml
ViewVC logotype

View of /sml/trunk/src/compiler/TopLevel/interact/intconfig.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 879 - (download) (annotate)
Thu Jul 19 18:59:38 2001 UTC (18 years, 7 months ago) by blume
File size: 619 byte(s)
extensive organizational changes
(* COPYRIGHT (c) 1996 Bell Laboratories *)
(* intconfig.sml *)

structure IntConfig : CCONFIG = struct
   
    type pickle = unit
    type hash = unit

    val topCount = ref 0

    fun pickUnpick { context, env = newenv } = let
	val _ = topCount := !topCount + 1
	val (newenv', hash, exportLvars, exportPid) = 
	    PickMod.dontPickle (newenv, !topCount)
    in
	{ hash = (),
          pickle = (),
	  exportLvars = exportLvars,
	  exportPid = exportPid,
	  newenv = newenv' }
    end

    val stampGen = Stamps.newGenerator ()
    val mkMkStamp = fn () => stampGen	(* always the same *)
end (* structure IntConfig *)

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