src/Pure/install_pp.ML
author paulson
Fri, 21 Feb 1997 15:31:47 +0100
changeset 2672 85d7e800d754
parent 1528 608dd813b437
child 3509 db03a42120bf
permissions -rw-r--r--
Replaced "flat" by the Basis Library function List.concat

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

Set up automatic toplevel pretty printing.
*)

fun init_pps () =
  use_string
   ["install_pp (make_pp [\"Theory\", \"theory\"] pprint_theory);",
    "install_pp (make_pp [\"Thm\", \"thm\"] pprint_thm);",
    "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 ();