named-sop 0.1.0.0 → 0.1.0.1
raw patch · 3 files changed
+7/−2 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGELOG.md +5/−0
- named-sop.cabal +1/−1
- src/Data/NamedSOP/Sum.hs +1/−1
CHANGELOG.md view
@@ -1,3 +1,8 @@+# 0.1.0.1++Quickfix for an oversight in the `uninsertSum` function that broke+`splitSum`.+ # 0.1.0.0 Initial release. Expect the public-facing API to change as the
named-sop.cabal view
@@ -1,5 +1,5 @@ name: named-sop-version: 0.1.0.0+version: 0.1.0.1 category: Data homepage: https://github.com/sjsch/named-sop
src/Data/NamedSOP/Sum.hs view
@@ -106,7 +106,7 @@ uninsertSum sxk (SCons syk _) (NSumThis v) = case sCompare sxk syk of SLT -> Left v SEQ -> Left v- SGT -> error "unsorted list"+ SGT -> Right (NSumThis v) uninsertSum sxk (SCons syk sys) (NSumThat vs) = case sCompare sxk syk of SLT -> Right vs SEQ -> Right vs