| D.ESort -> t
| D.EBind (D.ESort, a, b) -> D.TBind (E.compose a at, b, t)
| _ ->
- let e = if !G.export || !G.manager <> G.Quiet then D.set_attrs C.start at e else e in
+IFDEF MANAGER OR OBJS THEN
+ D.TProj (at, D.set_attrs C.start at e, t)
+ELSE
D.TProj (at, e, t)
+END
(* this is not tail recursive in the GRef branch *)
let rec xlate_term f st lst y lenv = function
let a = E.compose av a in
f a (D.TAppl (a, x, v, gref))
| args ->
- let args = if !G.export || !G.manager <> G.Quiet then D.set_attrs C.start a args else args in
+IFDEF MANAGER OR OBJS THEN
+ f a (D.TProj (a, D.set_attrs C.start a args, gref))
+ELSE
f a (D.TProj (a, args, gref))
+END
in
let f args = C.list_fold_right f map2 args D.ESort in
D.sub_list_strict (D.fold_names f map1 args) cnt args