src/Pure/install_pp.ML
author berghofe
Thu Apr 21 19:12:03 2005 +0200 (2005-04-21)
changeset 15797 a63605582573
parent 15633 741deccec4e3
child 16355 06059ee940b6
permissions -rw-r--r--
- Eliminated nodup_vars check.
- Unification and matching functions now check types of term variables / sorts
of type variables when applying a substitution.
- Thm.instantiate now takes (ctyp * ctyp) list instead of (indexname * ctyp) list
as argument, to allow for proper instantiation of theorems containing
type variables with same name but different sorts.
     1 (*  Title:      Pure/install_pp.ML
     2     ID:         $Id$
     3 
     4 Set up automatic toplevel pretty printing.
     5 *)
     6 
     7 install_pp (make_pp ["Theory", "theory"] ThyInfo.pprint_theory);
     8 install_pp (make_pp ["Thm", "thm"] Display.pprint_thm);
     9 install_pp (make_pp ["Thm", "cterm"] Display.pprint_cterm);
    10 install_pp (make_pp ["Thm", "ctyp"] Display.pprint_ctyp);
    11 install_pp (make_pp ["Sign", "sg"] Sign.pprint_sg);
    12 install_pp (make_pp ["Syntax", "ast"] Syntax.pprint_ast);
    13 install_pp (make_pp ["typ"] Syntax.simple_pprint_typ);