| (j,e)::tl when j=i -> (i,f e) :: tl
| x::tl -> x :: replace_in_subst i f tl
;;
-
+
let set_kind newkind attrs =
- newkind :: List.filter (fun x -> not (is_kind x)) attrs
+ (newkind :> NCic.meta_attr) :: List.filter (fun x -> not (is_kind x)) attrs
;;
let max_kind k1 k2 =