equal
deleted
inserted
replaced
315 else antiquote_tr' i t $ antiquote_tr' i u |
315 else antiquote_tr' i t $ antiquote_tr' i u |
316 | antiquote_tr' i (Abs (x, T, t)) = Abs (x, T, antiquote_tr' (i + 1) t) |
316 | antiquote_tr' i (Abs (x, T, t)) = Abs (x, T, antiquote_tr' (i + 1) t) |
317 | antiquote_tr' i a = no_loose_bvar i a; |
317 | antiquote_tr' i a = no_loose_bvar i a; |
318 |
318 |
319 fun quote_tr' (Abs (x, T, t) :: ts) = |
319 fun quote_tr' (Abs (x, T, t) :: ts) = |
320 Term.list_comb ( Lexicon.const quoteN $ Term.incr_boundvars ~1 (antiquote_tr' 0 t), ts) |
320 Term.list_comb (Lexicon.const quoteN $ Term.incr_boundvars ~1 (antiquote_tr' 0 t), ts) |
321 | quote_tr' _ = raise Match; |
321 | quote_tr' _ = raise Match; |
322 in (name, quote_tr') end; |
322 in (name, quote_tr') end; |
323 |
323 |
324 |
324 |
325 |
325 |