src/Pure/install_pp.ML
author wenzelm
Mon Sep 26 17:36:10 1994 +0100 (1994-09-26)
changeset 619 a0342b27b38e
parent 254 b1fcd27fcac4
child 1528 608dd813b437
permissions -rw-r--r--
added init_pps;
     1 (*  Title:      Pure/install_pp.ML
     2     ID:         $Id$
     3 
     4 Set up automatic toplevel pretty printing.
     5 *)
     6 
     7 fun init_pps () =
     8   use_string
     9    ["install_pp (make_pp [\"Thm\", \"thm\"] pprint_thm);",
    10     "install_pp (make_pp [\"Thm\", \"theory\"] pprint_theory);",
    11     "install_pp (make_pp [\"Thm\", \"cterm\"] pprint_cterm);",
    12     "install_pp (make_pp [\"Thm\", \"ctyp\"] pprint_ctyp);",
    13     "install_pp (make_pp [\"Sign\", \"sg\"] Sign.pprint_sg);",
    14     "install_pp (make_pp [\"Syntax\", \"ast\"] Syntax.pprint_ast);",
    15     "install_pp (make_pp [\"typ\"] Syntax.simple_pprint_typ);"];
    16 
    17 init_pps ();
    18