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/Tests/gensym.sml
ViewVC logotype

View of /sml/trunk/src/cm/Tests/gensym.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 424 - (download) (annotate)
Mon Sep 6 06:56:21 1999 UTC (20 years, 7 months ago) by blume
File size: 140 byte(s)
cm-tools.cm added
structure GenSym = struct
    local
	val c = ref 0
    in
	fun gensym () = let
	    val n = !c
	in
	    c := n + 1;
	    n
	end
    end
end

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