# HG changeset patch # User wenzelm # Date 1237644480 -3600 # Node ID 3d62ef3a27e61f90201069495598e955b42a9a02 # Parent 16b7ecc183e5c4b4d064dcb321d498be4fd17685 Pretty.position; try use ml_system specific install_pp; diff -r 16b7ecc183e5 -r 3d62ef3a27e6 src/Pure/pure_setup.ML --- a/src/Pure/pure_setup.ML Sat Mar 21 15:08:00 2009 +0100 +++ b/src/Pure/pure_setup.ML Sat Mar 21 15:08:00 2009 +0100 @@ -29,8 +29,7 @@ install_pp (make_pp ["Task_Queue", "task"] (Pretty.pprint o Pretty.str o Task_Queue.str_of_task)); install_pp (make_pp ["Task_Queue", "group"] (Pretty.pprint o Pretty.str o Task_Queue.str_of_group)); -install_pp (make_pp ["Position", "T"] (Pretty.pprint o Pretty.enum "," "{" "}" o - map (fn (x, y) => Pretty.str (x ^ "=" ^ y)) o Position.properties_of)); +install_pp (make_pp ["Position", "T"] (Pretty.pprint o Pretty.position)); install_pp (make_pp ["Thm", "thm"] ProofDisplay.pprint_thm); install_pp (make_pp ["Thm", "cterm"] ProofDisplay.pprint_cterm); install_pp (make_pp ["Binding", "binding"] (Pretty.pprint o Pretty.str o quote o Binding.str_of)); @@ -43,7 +42,9 @@ install_pp (make_pp ["Path", "T"] (Pretty.pprint o Pretty.str o quote o Path.implode)); install_pp (make_pp ["File", "ident"] (Pretty.pprint o Pretty.str o quote o File.rep_ident)); -if String.isPrefix "polyml" ml_system then use "ML-Systems/install_pp_polyml.ML" +if File.exists (Path.explode ("ML-Systems/install_pp_" ^ ml_system ^ ".ML")) then + use ("ML-Systems/install_pp_" ^ ml_system ^ ".ML") +else if String.isPrefix "polyml" ml_system then use "ML-Systems/install_pp_polyml.ML" else ();