removed needless, and for (newer versions of?) Haskell problematic code equations
authorblanchet
Thu, 28 Aug 2014 00:40:19 +0200
changeset 58053 decb3e2528e7
parent 58052 ec66337a7162
child 58054 1d9edd486479
removed needless, and for (newer versions of?) Haskell problematic code equations
src/HOL/Word/Word.thy
--- a/src/HOL/Word/Word.thy	Wed Aug 27 15:55:01 2014 +0200
+++ b/src/HOL/Word/Word.thy	Thu Aug 28 00:40:19 2014 +0200
@@ -137,11 +137,11 @@
 definition source_size :: "('a::len0 word \<Rightarrow> 'b) \<Rightarrow> nat"
 where
   -- "whether a cast (or other) function is to a longer or shorter length"
-  "source_size c = (let arb = undefined ; x = c arb in size arb)"  
+  [code del]: "source_size c = (let arb = undefined; x = c arb in size arb)"
 
 definition target_size :: "('a \<Rightarrow> 'b::len0 word) \<Rightarrow> nat"
 where
-  "target_size c = size (c undefined)"
+  [code del]: "target_size c = size (c undefined)"
 
 definition is_up :: "('a::len0 word \<Rightarrow> 'b::len0 word) \<Rightarrow> bool"
 where