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 3117 - (download) (as text) (annotate)
Thu Jul 17 03:31:51 2008 UTC (11 years, 11 months ago) by dbm
File size: 695 byte(s)
ported changes from sml/branches/temi-branch -r 3005:3116 into trunk
(* varcon.sig
 *
 * (C) 2001 Lucent Technologies, Bell Labs
 *)
signature VARCON = 
sig

  datatype var
    = VALvar of				(* ordinary variables *)
        {path : SymPath.path,
	 typ : Types.ty ref,
	 btvs : Types.tyvar list ref,
         access : Access.access,
         prim   : PrimOpId.primId}
    | 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 *)

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