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/cm/smlfile/skeleton.sml
ViewVC logotype

View of /sml/trunk/src/cm/smlfile/skeleton.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 293 - (download) (annotate)
Tue May 25 03:04:50 1999 UTC (21 years, 5 months ago) by blume
File size: 891 byte(s)
skeleton code rewritten (should contain no more code inherited from SC)
(*
 * SML source skeletons.
 *   (This has been vastly streamlined and simplified.)
 *
 *   Copyright (c) 1999 by Bell Laboratories, Lucent Technologies
 *   Copyright (c) 1995 by AT&T Bell Laboratories
 *   Copyright (c) 1993 by Carnegie Mellon University,
 *                         School of Computer Science
 *                         contact: Gene Rollins (rollins+@cs.cmu.edu)
 *
 * contact: Matthias Blume (blume@cs.princeton.edu)
 *)
structure Skeleton = struct

    type symbol = Symbol.symbol
    type sympath = GenericVC.SymPath.path

    datatype decl =
	Bind of symbol * modExp
      | Local of decl * decl
      | Par of decl list
      | Seq of decl list
      | Open of modExp
      | Ref of SymbolSet.set

    and modExp =
	Var of sympath
      | Decl of decl list		(* implicit Seq *)
      | Let of decl list * modExp	(* implicit Seq *)
      | Ign1 of modExp * modExp
end

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