equal
deleted
inserted
replaced
308 (* type and constant names *) |
308 (* type and constant names *) |
309 |
309 |
310 val dest_tyname = fn Type (c, _) => c | TFree (a, _) => a | _ => ""; |
310 val dest_tyname = fn Type (c, _) => c | TFree (a, _) => a | _ => ""; |
311 val dest_const = fn Const (c, _) => c | Free (x, _) => x | _ => ""; |
311 val dest_const = fn Const (c, _) => c | Free (x, _) => x | _ => ""; |
312 |
312 |
313 val global_tyname = Scan.peek (named_typ o Sign.read_tyname o Theory.sign_of) >> dest_tyname; |
313 val global_tyname = Scan.peek (named_typ o Sign.read_tyname) >> dest_tyname; |
314 val global_const = Scan.peek (named_term o Sign.read_const o Theory.sign_of) >> dest_const; |
314 val global_const = Scan.peek (named_term o Sign.read_const) >> dest_const; |
315 val local_tyname = Scan.peek (named_typ o ProofContext.read_tyname) >> dest_tyname; |
315 val local_tyname = Scan.peek (named_typ o ProofContext.read_tyname) >> dest_tyname; |
316 val local_const = Scan.peek (named_term o ProofContext.read_const) >> dest_const; |
316 val local_const = Scan.peek (named_term o ProofContext.read_const) >> dest_const; |
317 |
317 |
318 |
318 |
319 (* misc *) |
319 (* misc *) |