author | haftmann |
Wed, 23 Apr 2008 19:36:18 +0200 | |
changeset 26743 | f4cf7d36c63a |
parent 26742 | 5a86bc79431c |
child 26744 | 7b9439678304 |
--- a/src/HOL/Library/Array.thy Wed Apr 23 15:04:14 2008 +0200 +++ b/src/HOL/Library/Array.thy Wed Apr 23 19:36:18 2008 +0200 @@ -164,8 +164,7 @@ hide (open) const upd' lemma [code func]: "Array.upd i x a = Array.upd' a (index_of_nat i) x \<guillemotright> return a" - apply (simp add: upd'_def monad_simp) -oops + by (simp add: upd'_def monad_simp upd_return) subsubsection {* SML *}