type uri_generator = string -> string
type status = {
- delta: bool; (* global delta-expansion *)
- rt: bool; (* reference typing *)
- si: bool (* sort inclusion *)
+ g: Hierarchy.graph; (* sort hierarchy parameter *)
+ delta: bool; (* global delta-expansion *)
+ rt: bool; (* reference typing *)
+ si: bool; (* sort inclusion *)
+ expand: bool (* always expand global definitions *)
}
(* helpers ******************************************************************)
| _, _, Void ->
assert false
-let initial_status si = {
- delta = false; rt = false; si = si
+let initial_status g expand si = {
+ g = g; delta = false; rt = false; si = si; expand = expand
}