equal
deleted
inserted
replaced
895 val _ = |
895 val _ = |
896 Outer_Syntax.improper_command @{command_spec "thm_deps"} "visualize theorem dependencies" |
896 Outer_Syntax.improper_command @{command_spec "thm_deps"} "visualize theorem dependencies" |
897 (Parse_Spec.xthms1 >> Isar_Cmd.thm_deps); |
897 (Parse_Spec.xthms1 >> Isar_Cmd.thm_deps); |
898 |
898 |
899 val _ = |
899 val _ = |
900 Outer_Syntax.improper_command @{command_spec "print_binds"} "print term bindings of proof context" |
900 Outer_Syntax.improper_command @{command_spec "print_binds"} |
|
901 "print term bindings of proof context -- Proof General legacy" |
901 (Scan.succeed (Toplevel.unknown_context o |
902 (Scan.succeed (Toplevel.unknown_context o |
902 Toplevel.keep (Pretty.writeln_chunks o Proof_Context.pretty_binds o Toplevel.context_of))); |
903 Toplevel.keep |
|
904 (Pretty.writeln_chunks o Proof_Context.pretty_term_bindings o Toplevel.context_of))); |
|
905 |
|
906 val _ = |
|
907 Outer_Syntax.improper_command @{command_spec "print_term_bindings"} |
|
908 "print term bindings of proof context" |
|
909 (Scan.succeed (Toplevel.unknown_context o |
|
910 Toplevel.keep |
|
911 (Pretty.writeln_chunks o Proof_Context.pretty_term_bindings o Toplevel.context_of))); |
903 |
912 |
904 val _ = |
913 val _ = |
905 Outer_Syntax.improper_command @{command_spec "print_facts"} "print facts of proof context" |
914 Outer_Syntax.improper_command @{command_spec "print_facts"} "print facts of proof context" |
906 (opt_bang >> (fn verbose => Toplevel.unknown_context o |
915 (opt_bang >> (fn verbose => Toplevel.unknown_context o |
907 Toplevel.keep (fn st => Proof_Context.print_local_facts (Toplevel.context_of st) verbose))); |
916 Toplevel.keep (fn st => Proof_Context.print_local_facts (Toplevel.context_of st) verbose))); |