re-added accidental omission
authorhaftmann
Fri, 27 Aug 2010 13:55:23 +0200
changeset 38810 361119ea62ee
parent 38809 7dc73a208722
child 38811 c3511b112595
re-added accidental omission
src/HOL/Library/Code_Natural.thy
--- a/src/HOL/Library/Code_Natural.thy	Fri Aug 27 13:32:05 2010 +0200
+++ b/src/HOL/Library/Code_Natural.thy	Fri Aug 27 13:55:23 2010 +0200
@@ -9,7 +9,9 @@
 section {* Alternative representation of @{typ code_numeral} for @{text Haskell} and @{text Scala} *}
 
 code_include Haskell "Natural"
-{*newtype Natural = Natural Integer deriving (Eq, Show, Read);
+{*import Data.Array.ST;
+
+newtype Natural = Natural Integer deriving (Eq, Show, Read);
 
 instance Num Natural where {
   fromInteger k = Natural (if k >= 0 then k else 0);
@@ -50,6 +52,7 @@
     | otherwise = (Natural k, Natural l) where (k, l) = quotRem n m;
 };*}
 
+
 code_reserved Haskell Natural
 
 code_include Scala "Natural"