air-extra 2011.10.12 → 2012.5.15
raw patch · 2 files changed
+2/−2 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
- Air.Extra: base :: Integral a => a -> a -> String
+ Air.Extra: base :: (Integral a, Show a) => a -> a -> String
Files
- air-extra.cabal +1/−1
- src/Air/Extra.hs +1/−1
air-extra.cabal view
@@ -1,5 +1,5 @@ Name: air-extra-Version: 2011.10.12+Version: 2012.5.15 Build-type: Simple Synopsis: air-extra Description: An alternative Haskell Prelude library, extra helpers
src/Air/Extra.hs view
@@ -87,7 +87,7 @@ collapse' [] _ r = r collapse' (x:xs') q r = collapse' xs' (q+1) (r + x * 10 Prelude.^ q) -base :: (Integral a) => a -> a -> String+base :: (Integral a, Show a) => a -> a -> String base p n = showIntAtBase p intToDigit n "" -- String