let l' = List.map (eta_fix' context) l
in
(match l' with
+ [] -> assert false
+ | he::tl ->
+ let ty = CicTypeChecker.type_of_aux' metasenv context he in
+ fix_according_to_type ty he tl
+(*
C.Const(uri,exp_named_subst)::l'' ->
let constant_type =
(match CicEnvironment.get_obj uri with
) in
fix_according_to_type
constant_type (C.Const(uri,exp_named_subst)) l''
-(*
- let result = fix_according_to_type constant_type (C.Const(uri,exp_named_subst)) l'' in
- if not (CicReduction.are_convertible [] appl result) then
- (prerr_endline ("prima :" ^(CicPp.ppterm appl));
- prerr_endline ("dopo :" ^(CicPp.ppterm result)));
- result *)
- | _ -> C.Appl l' )
+ | _ -> C.Appl l' *))
| C.Const (uri,exp_named_subst) ->
let exp_named_subst' =
List.map