| C.Sort (C.Type _) -> "Type" (* TASSI OK*)
| C.Sort C.CProp -> "CProp"
| C.Meta _ ->
-prerr_endline "Cic2acic: string_of_sort applied to a meta" ;
+(* prerr_endline "Cic2acic: string_of_sort applied to a meta" ; *)
"?"
| t ->
prerr_endline ("Cic2acic: string_of_sort applied to: " ^ CicPp.ppterm t) ;
| "Set" -> `Set
| "Type" -> `Type
| "CProp" -> `CProp
+ | "?" -> `Meta
| _ -> assert false
let get_types uri =
| Cic.AProd (id,n,s,t) ->
let binder_kind =
match sort_of_id id with
- | `Set | `Type -> `Pi
+ | `Set | `Type | `Meta -> `Pi
| `Prop | `CProp -> `Forall
in
idref id (Ast.Binder (binder_kind, (n, Some (aux s)), aux t))