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.
wenzelm@19
     1
(*  Title:      Pure/install_pp.ML
clasohm@0
     2
    ID:         $Id$
clasohm@0
     3
wenzelm@619
     4
Set up automatic toplevel pretty printing.
clasohm@0
     5
*)
clasohm@0
     6
paulson@15633
     7
install_pp (make_pp ["Theory", "theory"] ThyInfo.pprint_theory);
wenzelm@11885
     8
install_pp (make_pp ["Thm", "thm"] Display.pprint_thm);
wenzelm@11885
     9
install_pp (make_pp ["Thm", "cterm"] Display.pprint_cterm);
wenzelm@11885
    10
install_pp (make_pp ["Thm", "ctyp"] Display.pprint_ctyp);
wenzelm@3509
    11
install_pp (make_pp ["Sign", "sg"] Sign.pprint_sg);
wenzelm@3509
    12
install_pp (make_pp ["Syntax", "ast"] Syntax.pprint_ast);
wenzelm@3509
    13
install_pp (make_pp ["typ"] Syntax.simple_pprint_typ);