packages feed

positive 0.2 → 0.3

raw patch · 2 files changed

+2/−1 lines, 2 files

Files

positive.cabal view
@@ -1,6 +1,6 @@  name:               positive-version:            0.2+version:            0.3 cabal-version:      >= 1.10 author:             Hans Hoglund maintainer:         Hans Hoglund <hans@hanshoglund.se>
src/Numeric/Positive.hs view
@@ -29,6 +29,7 @@ instance Integral Positive where   toInteger (Positive a) = toInteger a   Positive a `quotRem` Positive b = (fromIntegral $ a `quot` b, fromIntegral $ a `rem` b)+  Positive a `divMod` Positive b  = (fromIntegral $ a `div` b, fromIntegral $ a `mod` b)  instance Enum Positive where   toEnum   = fromIntegral