None , _ -> None
| _ , t -> t) cc l
with
- Invalid_argument _ -> assert false)
+ Invalid_argument _ ->
+ assert false)
let is_closed =
let module C = Cic in
| Not_found -> raise (UriManager.IllFormedUri s)
let uri_of_term = function
- | Cic.Const (uri, [])
- | Cic.Var (uri, []) -> uri
- | Cic.MutInd (baseuri, tyno, []) ->
+ | Cic.Const (uri, _)
+ | Cic.Var (uri, _) -> uri
+ | Cic.MutInd (baseuri, tyno, _) ->
UriManager.uri_of_string
(sprintf "%s#xpointer(1/%d)" (UriManager.string_of_uri baseuri) (tyno+1))
- | Cic.MutConstruct (baseuri, tyno, consno, []) ->
+ | Cic.MutConstruct (baseuri, tyno, consno, _) ->
UriManager.uri_of_string
(sprintf "%s#xpointer(1/%d/%d)" (UriManager.string_of_uri baseuri)
(tyno + 1) consno)