Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] View of /branches/charisee/src/compiler/ein/var.sml
ViewVC logotype

View of /branches/charisee/src/compiler/ein/var.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2383 - (download) (annotate)
Thu Jun 13 01:57:34 2013 UTC (7 years, 11 months ago) by cchiw
File size: 393 byte(s)
added ein
(* var.sml
 *
 * COPYRIGHT (c) 2012 The Diderot Project (http://diderot-language.cs.uchicago.edu)
 * All rights reserved.
 *)

structure Var =
  struct
    type var = string
    val compare = String.compare
    fun same (x : var, y) = (x = y)
    fun name (x : var) = x

    structure Map = RedBlackMapFn(
      struct
        type ord_key = var
        val compare = compare
      end)
  end

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