packages feed

alist 0.1.0.5 → 0.1.0.6

raw patch · 2 files changed

+6/−2 lines, 2 filesPVP: minor bump suggested

API additions: PVP suggests at least a minor version bump

API changes (from Hackage documentation)

+ Data.AList: cons :: () => a -> AList a -> AList a
+ Data.AList: snoc :: () => AList a -> a -> AList a

Files

Data/AList.hs view
@@ -11,9 +11,13 @@ singleton x = AListTip x append = AListAppend  +{-# INLINABLE fold #-} fold f base (AListAppend a b) = f (fold f base a) (fold f base b) fold f base (AListTip x) = x fold f base AListEmpty = base++cons x alist = singleton x `append` alist +snoc alist x = alist `append` singleton x  sum = fold (+) 0 
alist.cabal view
@@ -10,7 +10,7 @@ -- PVP summary:      +-+------- breaking API changes --                   | | +----- non-breaking API additions --                   | | | +--- code changes with no API change-version:             0.1.0.5+version:             0.1.0.6  -- A short (one-line) description of the package. synopsis:            lists with O(1) append@@ -60,7 +60,7 @@   -- other-extensions:          -- Other library packages from which modules are imported.-  build-depends:       base <10000+  build-depends:       base >= 4.9 && < 5      -- Directories containing source files.   -- hs-source-dirs: