type whd_result =
| Sort_ of int
| LRef_ of int * B.term option
- | GRef_ of B.obj
+ | GRef_ of B.entry
| Bind_ of int * B.id * B.term * B.term
type ho_whd_result =
match x with
| B.Sort h -> f m (Sort_ h)
| B.GRef uri ->
- let f obj = f m (GRef_ obj) in
- E.get_obj f uri
+ let f entry = f m (GRef_ entry) in
+ E.get_entry f uri
| B.LRef i ->
let f = function
| B.Void -> f m (LRef_ (i, None))