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

SCM Repository

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

View of /branches/ein16/src/compiler/ein/var-ein.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3682 - (download) (annotate)
Thu Feb 18 20:13:18 2016 UTC (4 years, 5 months ago) by cchiw
File size: 453 byte(s)
creating stable branch that represents ein ir
(* var-ein.sml
 *
 * This code is part of the Diderot Project (http://diderot-language.cs.uchicago.edu)
 *
 * COPYRIGHT (c) 2015 The University of Chicago
 * All rights reserved.
 *)

structure VarEin =
  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