packages feed

nats 0.1.2 → 0.1.3

raw patch · 4 files changed

+15/−8 lines, 4 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

CHANGELOG.markdown view
@@ -1,3 +1,7 @@+0.1.3+-----+* Added support for GHC 7.8's `bitSizeMaybe`+ 0.1 --- * Repository Initialized moving `Numeric.Natural` from `semigroups` 0.8.6
LICENSE view
@@ -1,4 +1,4 @@-Copyright 2011 Edward Kmett+Copyright 2011-2014 Edward Kmett  All rights reserved. 
nats.cabal view
@@ -1,6 +1,6 @@ name:          nats category:      Numeric, Algebra-version:       0.1.2+version:       0.1.3 license:       BSD3 cabal-version: >= 1.8 license-file:  LICENSE@@ -9,10 +9,9 @@ stability:     provisional homepage:      http://github.com/ekmett/nats/ bug-reports:   http://github.com/ekmett/nats/issues-copyright:     Copyright (C) 2011-2013 Edward A. Kmett-synopsis:      Haskell 98 natural numbers-description:-    Haskell 98 natural numbers+copyright:     Copyright (C) 2011-2014 Edward A. Kmett+synopsis:      Natural numbers+description:   Natural numbers build-type:    Simple extra-source-files:   .ghci
src/Numeric/Natural/Internal.hs view
@@ -9,7 +9,7 @@ ----------------------------------------------------------------------------- -- | -- Module      :  Numeric.Natural.Internal--- Copyright   :  (C) 2011 Edward Kmett,+-- Copyright   :  (C) 2011-2014 Edward Kmett, -- License     :  BSD-style (see the file LICENSE) -- -- Maintainer  :  Edward Kmett <ekmett@gmail.com>@@ -95,7 +95,11 @@   {-# INLINE complementBit #-}   testBit = testBit . runNatural   {-# INLINE testBit #-}-  bitSize = bitSize . runNatural+#if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ >= 707+  bitSizeMaybe _ = Nothing+  {-# INLINE bitSizeMaybe #-}+#endif+  bitSize = error "Natural: bitSize"   {-# INLINE bitSize #-}   isSigned _ = False   {-# INLINE isSigned #-}