\ / This software is distributed as is, NO WARRANTY.
V_______________________________________________________________ *)
+module O = Options
+
type uri = NUri.uri
type id = Aut.id
type 'term entity = attrs * uri * 'term bind (* attrs, name, binder *)
-type uri_generator = string -> string
-
type status = {
delta: bool; (* global delta-expansion *)
rt: bool; (* reference typing *)
| _, _, Void ->
assert false
-let initial_status expand si = {
- delta = false; rt = false; si = si; expand = expand
+let initial_status () = {
+ delta = false; rt = false; si = !O.si; expand = !O.expand
+}
+
+let refresh_status st = {st with
+ si = !O.si; expand = !O.expand
}