diff options
| author | Hugo Herbelin | 2020-10-31 14:34:17 +0100 |
|---|---|---|
| committer | Hugo Herbelin | 2020-11-04 16:56:49 +0100 |
| commit | 4814c482eb83f4c21b6ecf2b1b9235b513221181 (patch) | |
| tree | f537790aeba33e55c98e6a3e0ef6cf503fc0197c /engine/uState.mli | |
| parent | 78e600ac5f8aa9609cac4347c7a694428ae9d7cc (diff) | |
Factorizing UState.make* through UState.from_env, to highlight the similarity.
An alternative could also be to split the initialization of the
environment and the declaration of initial "binders".
Diffstat (limited to 'engine/uState.mli')
| -rw-r--r-- | engine/uState.mli | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engine/uState.mli b/engine/uState.mli index bb26f0f821..d79447f6a9 100644 --- a/engine/uState.mli +++ b/engine/uState.mli @@ -28,12 +28,14 @@ type t val empty : t val make : lbound:UGraph.Bound.t -> UGraph.t -> t +[@@ocaml.deprecated "Use from_env"] val make_with_initial_binders : lbound:UGraph.Bound.t -> UGraph.t -> lident list -> t +[@@ocaml.deprecated "Use from_env"] val of_binders : UnivNames.universe_binders -> t -val from_env : Environ.env -> t +val from_env : ?binders:lident list -> Environ.env -> t val of_context_set : Univ.ContextSet.t -> t |
