src/Pure/install_pp.ML
author paulson
Mon, 14 Aug 1995 13:42:27 +0200
changeset 1228 7d6b0241afab
parent 619 a0342b27b38e
child 1528 608dd813b437
permissions -rw-r--r--
updated version number to revision 4

(*  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 ();