V_______________________________________________________________ *)
module U = NUri
-module G = Options
module N = Level
type uri = U.uri
type 'term entity = attrs * uri * 'term bind (* attrs, name, binder *)
-type status = {
- delta: bool; (* global delta-expansion *)
- rt: bool; (* reference typing *)
- si: bool; (* sort inclusion *)
- expand: bool (* always expand global definitions *)
-}
-
(* helpers ******************************************************************)
let common f (a, u, _) = f a u
let f t = f (a, uri, Abbr t) in xlate_term f t
| _, _, Void ->
assert false
-
-let initial_status () = {
- delta = false; rt = false; si = !G.si; expand = !G.expand
-}
-
-let refresh_status st = {st with
- si = !G.si; expand = !G.expand
-}
-