# HG changeset patch # User wenzelm # Date 936213423 -7200 # Node ID 70c1d3eac214a7a2ecf903263ff8ab5d4b18ceb1 # Parent a98963d70f8122c1fb4a40740df5f708447c41fd fix: common constraints; cond_print_calc: Proof.pretty_thm; diff -r a98963d70f81 -r 70c1d3eac214 src/Pure/Isar/isar_thy.ML --- a/src/Pure/Isar/isar_thy.ML Wed Sep 01 21:16:23 1999 +0200 +++ b/src/Pure/Isar/isar_thy.ML Wed Sep 01 21:17:03 1999 +0200 @@ -71,8 +71,8 @@ -> ProofHistory.T -> ProofHistory.T val chain: Comment.text -> ProofHistory.T -> ProofHistory.T val export_chain: Comment.text -> ProofHistory.T -> ProofHistory.T - val fix: (string * string option) list * Comment.text -> ProofHistory.T -> ProofHistory.T - val fix_i: (string * typ) list * Comment.text -> ProofHistory.T -> ProofHistory.T + val fix: ((string list * string option) * Comment.text) list -> ProofHistory.T -> ProofHistory.T + val fix_i: ((string list * typ) * Comment.text) list -> ProofHistory.T -> ProofHistory.T val match_bind: ((string list * string) * Comment.text) list -> ProofHistory.T -> ProofHistory.T val match_bind_i: ((term list * term) * Comment.text) list -> ProofHistory.T -> ProofHistory.T val theorem: (bstring * Args.src list * (string * (string list * string list))) @@ -265,8 +265,8 @@ (* context *) -val fix = ProofHistory.apply o Proof.fix o Comment.ignore; -val fix_i = ProofHistory.apply o Proof.fix_i o Comment.ignore; +val fix = ProofHistory.apply o Proof.fix o map Comment.ignore; +val fix_i = ProofHistory.apply o Proof.fix_i o map Comment.ignore; val match_bind = ProofHistory.apply o Proof.match_bind o map Comment.ignore; val match_bind_i = ProofHistory.apply o Proof.match_bind_i o map Comment.ignore; @@ -396,8 +396,8 @@ local -fun cond_print_calc int thm = - if int then Pretty.writeln (Pretty.big_list "calculation:" [Proof.pretty_thm thm]) +fun cond_print_calc int thms = + if int then Pretty.writeln (Pretty.big_list "calculation:" (map Proof.pretty_thm thms)) else (); fun proof''' f = Toplevel.proof' (f o cond_print_calc);