SCM Repository
View of /trunk/src/ast/var.sml
Parent Directory
|
Revision Log
Revision 71 -
(download)
(annotate)
Sat May 22 22:16:04 2010 UTC (12 years, 1 month ago) by jhr
File size: 357 byte(s)
Sat May 22 22:16:04 2010 UTC (12 years, 1 month ago) by jhr
File size: 357 byte(s)
Working on typechecker
(* var.sml * * COPYRIGHT (c) 2010 The Diderot Project (http://diderot.cs.uchicago.edu) * All rights reserved. *) structure Var = struct datatype var = datatype AST.var fun typeOf (V{ty, ...}) = ty fun new (name, kind, ty) = let val id = Stamp.new() in V{name=Atom.toString name, id=id, kind=kind, ty=([], ty)} end end
root@smlnj-gforge.cs.uchicago.edu | ViewVC Help |
Powered by ViewVC 1.0.0 |