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

View of /sml/trunk/src/compiler/Semant/syntax/varcon.sig

Parent Directory Parent Directory | Revision Log Revision Log


Revision 89 - (download) (as text) (annotate)
Tue May 12 21:54:55 1998 UTC (22 years, 1 month ago) by monnier
File size: 789 byte(s)
Initial revision
(* Copyright 1996 by AT&T Bell Laboratories *)
(* varcon.sig *)

signature VARCON = 
sig

  datatype var
    = VALvar of 		      (* ordinary variables *)
        {path : SymPath.path,
	 typ : Types.ty ref,
         access : Access.access,
         info   : InlInfo.inl_info}
    | 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 (* signature VARCON *)

(*
 * $Log: varcon.sig,v $
 * Revision 1.1.1.1  1998/04/08 18:39:31  george
 * Version 110.5
 *
 *)

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