summaryrefslogtreecommitdiff
path: root/print.ml
diff options
context:
space:
mode:
authorGravatar Nicolas Braud-Santoni <nicolas@braud-santoni.eu>2016-07-23 16:22:24 -0400
committerGravatar Nicolas Braud-Santoni <nicolas@braud-santoni.eu>2016-07-23 16:22:24 -0400
commita3a7c528787411373bb857af4b51f3003f9fcc2b (patch)
tree364a89e76f79bbf82818401a2e1fc2d37f7f84cc /print.ml
parent2614d6df738735538ea381e44bad1279269676c1 (diff)
parent17564e4922acda6b72bf39de7a8c23ed0c0178f6 (diff)
Merge tag 'upstream/8.5.1'
Upstream version 8.5.1
Diffstat (limited to 'print.ml')
-rw-r--r--print.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/print.ml b/print.ml
index 1ceb786..0305158 100644
--- a/print.ml
+++ b/print.ml
@@ -65,7 +65,7 @@ let pp_all pt : (int * Terms.t * named_env Search_monad.m) Search_monad.m -> Pp.
rename the variables, and rebuilds raw Coq terms (for the context, and
the terms in the environment). In order to do so, it requires the
information gathered by the {!Theory.Trans} module.*)
-let print rlt ir m (context : Term.rel_context) goal =
+let print rlt ir m (context : Context.rel_context) goal =
if Search_monad.count m = 0
then
(
@@ -80,7 +80,7 @@ let print rlt ir m (context : Term.rel_context) goal =
let l = List.sort (fun (n,_) (n',_) -> Pervasives.compare n n') l in
let l =
List.map (fun (v,t) ->
- let (name,body,types) = Term.lookup_rel v context in
+ let (name,body,types) = Context.lookup_rel v context in
(name,t)
) l
in