numbers 2009.5.18.1 → 2009.5.20.1
raw patch · 2 files changed
+4/−3 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- Data/Number/Natural.hs +3/−2
- numbers.cabal +1/−1
Data/Number/Natural.hs view
@@ -61,8 +61,9 @@ toRational = toRational . toInteger instance Enum Natural where- succ = (+1)- pred = (subtract 1)+ succ = S+ pred Z = error "Natural: pred 0"+ pred (S a) = a toEnum = fromIntegral fromEnum = fromIntegral enumFromThenTo from thn to = go from (to `maybeSubtract` from) where
numbers.cabal view
@@ -1,5 +1,5 @@ Name: numbers-Version: 2009.5.18.1+Version: 2009.5.20.1 License: BSD3 Author: Lennart Augustsson Maintainer: Lennart Augustsson