casr-logbook 0.0.2 → 0.0.3
raw patch · 3 files changed
+8/−4 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- casr-logbook.cabal +1/−1
- changelog +4/−0
- src/Data/Aviation/Casr/Logbook/Totals.hs +3/−3
casr-logbook.cabal view
@@ -1,5 +1,5 @@ name: casr-logbook-version: 0.0.2+version: 0.0.3 license: OtherLicense license-file: LICENSE author: Tony Morris <ʇǝu˙sıɹɹoɯʇ@ןןǝʞsɐɥ>
changelog view
@@ -1,3 +1,7 @@+0.0.3++* Fix bug in merging two totals.+ 0.0.2 * Fix function name, `printMarkdown`.
src/Data/Aviation/Casr/Logbook/Totals.hs view
@@ -42,14 +42,14 @@ (total1 `mappend` total2) (dualhours1 `mappend` dualhours2) (solohours1 `mappend` solohours2)- (intype1 `mappend` intype2)- (inreg1 `mappend` inreg2)+ (Map.unionWith mappend intype1 intype2)+ (Map.unionWith mappend inreg1 inreg2) (singleengine1 `mappend` singleengine2) (multiengine1 `mappend` multiengine2) (day1 `mappend` day2) (night1 `mappend` night2) (daynight1 `mappend` daynight2)- (pic1 `mappend` pic2)+ (Map.unionWith mappend pic1 pic2) instance Markdown Totals where markdown (Totals total dualhours solohours intype inreg singleengine multiengine day night daynight pic) =