if NUri.eq u uri then
Cic.Rel (n_fl - i + k)
else
- Cic.Const (NUri.ouri_of_nuri u,[])
+ let ouri = NUri.ouri_of_nuri u in
+ let ouri =
+ UriManager.uri_of_string
+ (UriManager.buri_of_uri ouri ^ "/" ^
+ UriManager.name_of_uri ouri ^ string_of_int i ^ ".con") in
+ Cic.Const (ouri,[])
| _ -> assert false
in
convert_term 0 t
| u,_,_,_,NCic.Fixpoint (is_fix, fl, _) ->
List.map
(fun nth ->
- let name = UriManager.name_of_uri (NUri.ouri_of_nuri u) in
+ let name =
+ UriManager.name_of_uri (NUri.ouri_of_nuri u) ^ string_of_int nth in
let buri = UriManager.buri_of_uri (NUri.ouri_of_nuri u) in
let uri = UriManager.uri_of_string (buri ^"/"^name^".con") in
uri,