equal
deleted
inserted
replaced
754 trns |
754 trns |
755 |> exprgen_type thy tabs ty |
755 |> exprgen_type thy tabs ty |
756 |-> (fn ty => pair (IVar v)) |
756 |-> (fn ty => pair (IVar v)) |
757 | exprgen_term thy tabs (Abs (raw_v, ty, raw_t)) trns = |
757 | exprgen_term thy tabs (Abs (raw_v, ty, raw_t)) trns = |
758 let |
758 let |
759 val (v, t) = Term.variant_abs (Symbol.alphanum raw_v, ty, raw_t); |
759 val (v, t) = Syntax.variant_abs (Symbol.alphanum raw_v, ty, raw_t); |
760 in |
760 in |
761 trns |
761 trns |
762 |> exprgen_type thy tabs ty |
762 |> exprgen_type thy tabs ty |
763 ||>> exprgen_term thy tabs t |
763 ||>> exprgen_term thy tabs t |
764 |-> (fn (ty, e) => pair ((v, ty) `|-> e)) |
764 |-> (fn (ty, e) => pair ((v, ty) `|-> e)) |