1995-08-09 08:06:35 -07:00
|
|
|
(***********************************************************************)
|
|
|
|
(* *)
|
|
|
|
(* Caml Special Light *)
|
|
|
|
(* *)
|
|
|
|
(* Xavier Leroy, projet Cristal, INRIA Rocquencourt *)
|
|
|
|
(* *)
|
|
|
|
(* Copyright 1995 Institut National de Recherche en Informatique et *)
|
|
|
|
(* Automatique. Distributed only by permission. *)
|
|
|
|
(* *)
|
|
|
|
(***********************************************************************)
|
|
|
|
|
|
|
|
(* $Id$ *)
|
|
|
|
|
1995-05-04 03:15:53 -07:00
|
|
|
(* Substitutions *)
|
|
|
|
|
|
|
|
open Typedtree
|
|
|
|
|
|
|
|
type t
|
|
|
|
|
|
|
|
val identity: t
|
|
|
|
|
|
|
|
val add_type: Ident.t -> Path.t -> t -> t
|
|
|
|
val add_module: Ident.t -> Path.t -> t -> t
|
|
|
|
val add_modtype: Ident.t -> module_type -> t -> t
|
|
|
|
|
|
|
|
val type_expr: t -> type_expr -> type_expr
|
|
|
|
val value_description: t -> value_description -> value_description
|
|
|
|
val type_declaration: t -> type_declaration -> type_declaration
|
|
|
|
val exception_declaration:
|
|
|
|
t -> exception_declaration -> exception_declaration
|
|
|
|
val modtype: t -> module_type -> module_type
|
|
|
|
val signature: t -> signature -> signature
|
|
|
|
val modtype_declaration: t -> modtype_declaration -> modtype_declaration
|
|
|
|
|