list-transformer 1.0.9 → 1.1.0
raw patch · 4 files changed
+56/−9 lines, 4 files
Files
- CHANGELOG.md +46/−0
- LICENSE +2/−2
- list-transformer.cabal +7/−6
- src/List/Transformer.hs +1/−1
+ CHANGELOG.md view
@@ -0,0 +1,46 @@+1.1.0:++- BREAKING CHANGE: Remove `MonadTrans` instance for `ZipListT`++1.0.9:++- `MFunctor` instances for `ListT` / `Step`++1.0.8:++- Improve documentation++1.0.7:++- Add `ZipListT`+- Add `dropWhile`++1.0.6:++- Build against GHC 8.8++1.0.5:++- Disable `-Wcompat` build flag for GHC < 8.0++1.0.4:++- Add `Semigroup` instance+- Make package `-Wcompat`-clean++1.0.3:++- Fix typos in tutorial++1.0.2:++- Add `takeWhile`+- Add `MonadFail` instance for `ListT`++1.0.1:++- Add `take` / `drop` / `unfold` / `zip`++1.0.0:++- Initial release
LICENSE view
@@ -1,4 +1,4 @@-Copyright Gabriel Gonzalez (c) 2016+Copyright Gabriella Gonzalez (c) 2016 All rights reserved. @@ -13,7 +13,7 @@ disclaimer in the documentation and/or other materials provided with the distribution. - * Neither the name of Gabriel Gonzalez nor the names of other+ * Neither the name of Gabriella Gonzalez nor the names of other contributors may be used to endorse or promote products derived from this software without specific prior written permission.
list-transformer.cabal view
@@ -1,5 +1,5 @@ name: list-transformer-version: 1.0.9+version: 1.1.0 synopsis: List monad transformer description: This library provides a list monad transformer that enriches lists with effects and streams efficiently in@@ -8,22 +8,23 @@ This library also has an extensive tutorial in the "List.Transformer" module which explains the motivation behind this type and how to use the type fluently.-homepage: https://github.com/Gabriel439/Haskell-List-Transformer-Library+homepage: https://github.com/Gabriella439/Haskell-List-Transformer-Library license: BSD3 license-file: LICENSE-author: Gabriel Gonzalez-maintainer: Gabriel439@gmail.com-copyright: 2016 Gabriel Gonzalez+author: Gabriella Gonzalez+maintainer: GenuineGabriella@gmail.com+copyright: 2016 Gabriella Gonzalez category: Control build-type: Simple cabal-version: >=1.10+extra-source-files: CHANGELOG.md library hs-source-dirs: src exposed-modules: List.Transformer default-language: Haskell2010 build-depends: base >= 4.5 && < 5- , mtl >= 2.1 && < 2.3+ , mtl >= 2.1 && < 2.4 , mmorph >= 1.1.3 && < 1.3 if !impl(ghc >= 8.0) build-depends: semigroups == 0.18.*
src/List/Transformer.hs view
@@ -818,7 +818,7 @@ -- that expects "an Applicative instance", written to be polymorphic over -- all Applicatives. newtype ZipListT m a = ZipListT { getZipListT :: ListT m a }- deriving (Functor, Alternative, Foldable, Traversable, MonadTrans, Floating, Fractional, Num, Semigroup, Monoid)+ deriving (Functor, Alternative, Foldable, Traversable, Floating, Fractional, Num, Semigroup, Monoid) instance Monad m => Applicative (ZipListT m) where pure x = ZipListT go