-
Notifications
You must be signed in to change notification settings - Fork 2
/
envaux.mli
36 lines (26 loc) · 1.52 KB
/
envaux.mli
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
(**************************************************************************)
(* *)
(* OCaml *)
(* *)
(* Jerome Vouillon, projet Cristal, INRIA Rocquencourt *)
(* OCaml port by John Malecki and Xavier Leroy *)
(* *)
(* Copyright 1996 Institut National de Recherche en Informatique et *)
(* en Automatique. *)
(* *)
(* All rights reserved. This file is distributed under the terms of *)
(* the GNU Lesser General Public License version 2.1, with the *)
(* special exception on linking described in the file LICENSE. *)
(* *)
(**************************************************************************)
open Format
(* Convert environment summaries to environments *)
val env_from_summary : Env.summary -> Subst.t -> Env.t
(* Empty the environment caches. To be called when load_path changes. *)
val reset_cache: unit -> unit
val env_of_only_summary : Env.t -> Env.t
(* Error report *)
type error =
Module_not_found of Path.t
exception Error of error
val report_error: formatter -> error -> unit