author | haftmann |
Mon, 23 Aug 2010 11:09:48 +0200 | |
changeset 38668 | e8236c4aff16 |
parent 38667 | 8494cb38cbf7 |
child 38669 | 9ff76d0f0610 |
src/Pure/conv.ML | file | annotate | diff | comparison | revisions |
--- a/src/Pure/conv.ML Mon Aug 23 11:09:48 2010 +0200 +++ b/src/Pure/conv.ML Mon Aug 23 11:09:48 2010 +0200 @@ -48,6 +48,7 @@ val concl_conv: int -> conv -> conv val fconv_rule: conv -> thm -> thm val gconv_rule: conv -> int -> thm -> thm + val tap_thy: (theory -> conv) -> conv end; structure Conv: CONV = @@ -211,6 +212,9 @@ end | NONE => raise THM ("gconv_rule", i, [th])); + +fun tap_thy conv ct = conv (Thm.theory_of_cterm ct) ct; + end; structure Basic_Conv: BASIC_CONV = Conv;