src/Pure/install_pp.ML
author nipkow
Wed, 07 Feb 1996 12:22:32 +0100
changeset 1481 03f096efa26d
parent 619 a0342b27b38e
child 1528 608dd813b437
permissions -rw-r--r--
Modified datatype com. Added (part of) relative completeness proof for Hoare logic.

(*  Title:      Pure/install_pp.ML
    ID:         $Id$

Set up automatic toplevel pretty printing.
*)

fun init_pps () =
  use_string
   ["install_pp (make_pp [\"Thm\", \"thm\"] pprint_thm);",
    "install_pp (make_pp [\"Thm\", \"theory\"] pprint_theory);",
    "install_pp (make_pp [\"Thm\", \"cterm\"] pprint_cterm);",
    "install_pp (make_pp [\"Thm\", \"ctyp\"] pprint_ctyp);",
    "install_pp (make_pp [\"Sign\", \"sg\"] Sign.pprint_sg);",
    "install_pp (make_pp [\"Syntax\", \"ast\"] Syntax.pprint_ast);",
    "install_pp (make_pp [\"typ\"] Syntax.simple_pprint_typ);"];

init_pps ();