bookkeeping 0.3.2.0 → 0.3.3.0
raw patch · 2 files changed
+5/−5 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
+ Business.Bookkeeping: instance GHC.Enum.Enum Business.Bookkeeping.Amount
+ Business.Bookkeeping: instance GHC.Real.Integral Business.Bookkeeping.Amount
+ Business.Bookkeeping: instance GHC.Real.Integral Business.Bookkeeping.Date
+ Business.Bookkeeping: instance GHC.Real.Integral Business.Bookkeeping.Month
+ Business.Bookkeeping: instance GHC.Real.Integral Business.Bookkeeping.Year
+ Business.Bookkeeping: instance GHC.Real.Real Business.Bookkeeping.Amount
+ Business.Bookkeeping: instance GHC.Real.Real Business.Bookkeeping.Date
+ Business.Bookkeeping: instance GHC.Real.Real Business.Bookkeeping.Month
+ Business.Bookkeeping: instance GHC.Real.Real Business.Bookkeeping.Year
Files
- bookkeeping.cabal +1/−1
- src/Business/Bookkeeping.hs +4/−4
bookkeeping.cabal view
@@ -1,5 +1,5 @@ name: bookkeeping-version: 0.3.2.0+version: 0.3.3.0 synopsis: A module for bookkeeping by double entry. description: A module for bookkeeping by double entry. This module provides a way to do bookkeeping programmatically.
src/Business/Bookkeeping.hs view
@@ -221,15 +221,15 @@ newtype Year = Year { unYear :: Integer- } deriving (Show, Read, Ord, Eq, Num, Enum)+ } deriving (Show, Read, Ord, Eq, Num, Enum, Real, Integral) newtype Month = Month { unMonth :: Int- } deriving (Show, Read, Ord, Eq, Num, Enum)+ } deriving (Show, Read, Ord, Eq, Num, Enum, Real, Integral) newtype Date = Date { unDate :: Int- } deriving (Show, Read, Ord, Eq, Num, Enum)+ } deriving (Show, Read, Ord, Eq, Num, Enum, Real, Integral) newtype Description = Description { unDescription :: Text@@ -247,7 +247,7 @@ newtype Amount = Amount { unAmount :: Int- } deriving (Show, Read, Ord, Eq, Num)+ } deriving (Show, Read, Ord, Eq, Num, Enum, Real, Integral) newtype DebitCategory = DebitCategory { unDebitCategory :: Category