diff options
author | Nicolas Braud-Santoni <nicolas@braud-santoni.eu> | 2016-07-23 16:22:24 -0400 |
---|---|---|
committer | Nicolas Braud-Santoni <nicolas@braud-santoni.eu> | 2016-07-23 16:22:24 -0400 |
commit | a3a7c528787411373bb857af4b51f3003f9fcc2b (patch) | |
tree | 364a89e76f79bbf82818401a2e1fc2d37f7f84cc /print.ml | |
parent | 2614d6df738735538ea381e44bad1279269676c1 (diff) | |
parent | 17564e4922acda6b72bf39de7a8c23ed0c0178f6 (diff) |
Merge tag 'upstream/8.5.1'
Upstream version 8.5.1
Diffstat (limited to 'print.ml')
-rw-r--r-- | print.ml | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |