summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincentHanquez <>2017-09-13 06:57:00 (GMT)
committerhdiff <hdiff@hdiff.luite.com>2017-09-13 06:57:00 (GMT)
commitc26be234ab057d4e85c1410ea14bbfcd488c04c1 (patch)
treee859e43972567d9a8e4b426ab452bb112d344d21
parenta4377225aec2eabcc1eb4a9d910b3fab97924348 (diff)
version 0.0.2HEAD0.0.2master
-rw-r--r--Basement/Compat/Natural.hs3
-rw-r--r--basement.cabal2
2 files changed, 3 insertions, 2 deletions
diff --git a/Basement/Compat/Natural.hs b/Basement/Compat/Natural.hs
index 095aec4..db45b62 100644
--- a/Basement/Compat/Natural.hs
+++ b/Basement/Compat/Natural.hs
@@ -14,10 +14,11 @@ import Prelude (Integer, abs, fromInteger, toInteger)
#else
import Prelude (Show(..),Eq,Ord,Enum,Num(..),Real(..),Integral(..),Integer,error,(<), (>), otherwise, toInteger)
+import Data.Bits
import Data.Typeable
newtype Natural = Natural Integer
- deriving (Eq,Ord,Enum,Typeable)
+ deriving (Eq,Ord,Enum,Typeable,Bits)
instance Show Natural where
show (Natural i) = show i
diff --git a/basement.cabal b/basement.cabal
index 8676eb6..de225f9 100644
--- a/basement.cabal
+++ b/basement.cabal
@@ -1,5 +1,5 @@
name: basement
-version: 0.0.1
+version: 0.0.2
synopsis: Foundation scrap box of array & string
description: Foundation most basic primitives without any dependencies
homepage: https://github.com/haskell-foundation/foundation#readme