(new_metasenv, (name, new_type) :: types))
funs (metasenv, [])
in
+List.iter (fun (_, t) -> assert (t <> Cic.Implicit)) types;
let context' =
(List.rev_map
(fun (name, t) -> Some (Cic.Name name, Cic.Decl t))
| ((name, index, _, _) :: funs_tl),
((_, typ) :: typ_tl),
(body :: body_tl) ->
- (name, index, typ, term) :: combine (funs_tl, typ_tl, body_tl)
+ (name, index, typ, body) :: combine (funs_tl, typ_tl, body_tl)
| [], [], [] -> []
| _ -> assert false
in
| ((name, _, _) :: funs_tl),
((_, typ) :: typ_tl),
(body :: body_tl) ->
- (name, typ, term) :: combine (funs_tl, typ_tl, body_tl)
+ (name, typ, body) :: combine (funs_tl, typ_tl, body_tl)
| [], [], [] -> []
| _ -> assert false
in