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/compiler/ElabData/syntax/varcon.sig
ViewVC logotype

View of /sml/trunk/compiler/ElabData/syntax/varcon.sig

Parent Directory Parent Directory | Revision Log Revision Log


Revision 903 - (download) (as text) (annotate)
Mon Aug 20 19:34:06 2001 UTC (18 years, 10 months ago) by blume
Original Path: sml/trunk/src/compiler/ElabData/syntax/varcon.sig
File size: 630 byte(s)
library debugprof.cm extracted
(* varcon.sig
 *
 * (C) 2001 Lucent Technologies, Bell Labs
 *)
signature VARCON = 
sig

  datatype var
    = VALvar of				(* ordinary variables *)
        {path : SymPath.path,
	 typ : Types.ty ref,
         access : Access.access,
         info   : II.ii}
    | OVLDvar of			(* overloaded identifier *)
	  {name : Symbol.symbol,
	   options: {indicator: Types.ty, variant: var} list ref,
	   scheme: Types.tyfun}
    | ERRORvar

  type datacon = Types.datacon

  datatype value
    = VAL of var
    | CON of datacon

  val mkVALvar : Symbol.symbol * Access.access ->  var

  val bogusCON : datacon
  val bogusEXN : datacon

end

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