GrafiteAst.Default (loc, name, uris)
| GrafiteAst.Coercion (loc, uri, close, arity) ->
GrafiteAst.Coercion (loc, rehash_uri uri, close, arity)
+ | GrafiteAst.Index (loc, key, uri) ->
+ GrafiteAst.Index (loc, HExtlib.map_option CicUtil.rehash_term key, rehash_uri uri)
| cmd ->
prerr_endline "Found a command not expected in a .moo:";
let term_pp _ = assert false in