microlens-contra 0.1.0.1 → 0.1.0.2
raw patch · 4 files changed
+22/−16 lines, 4 files
Files
- CHANGELOG.md +4/−0
- LICENSE +3/−2
- microlens-contra.cabal +11/−8
- src/Lens/Micro/Contra.hs +4/−6
CHANGELOG.md view
@@ -1,3 +1,7 @@+# 0.1.0.2++* Removed the contravariant dependency for GHC 8.6 and later.+ # 0.1.0.1 * Added forgotten copyright/authorship information.
LICENSE view
@@ -1,5 +1,6 @@ Copyright (c) 2013-2016 Edward Kmett,- 2015-2016 Artyom+ 2015-2016 Artyom Kazak,+ 2018 Monadfix All rights reserved. @@ -14,7 +15,7 @@ disclaimer in the documentation and/or other materials provided with the distribution. - * Neither the name of Artyom nor the names of other+ * Neither the name of Monadfix nor the names of other contributors may be used to endorse or promote products derived from this software without specific prior written permission.
microlens-contra.cabal view
@@ -1,18 +1,20 @@ name: microlens-contra-version: 0.1.0.1+version: 0.1.0.2 synopsis: True folds and getters for microlens description: This package provides @Fold@ and @Getter@ that are fully compatible with lens; the downside is that this package depends on contravariant, which in its turn depends on a lot of other packages (but still less than lens). . The difference between @Fold@ and @SimpleFold@ is that you can use e.g. @takingWhile@\/@droppingWhile@ and @backwards@ on the former but not on the latter. Most functions from lens that work with @Fold@ would work with @SimpleFold@ as well, tho. .- This package is a part of the <http://hackage.haskell.org/package/microlens microlens> family; see the readme <https://github.com/aelve/microlens#readme on Github>.+ Starting from GHC 8.6, this package doesn't depend on contravariant anymore.+ .+ This package is a part of the <http://hackage.haskell.org/package/microlens microlens> family; see the readme <https://github.com/monadfix/microlens#readme on Github>. license: BSD3 license-file: LICENSE-author: Edward Kmett, Artyom-maintainer: Artyom <yom@artyom.me>-homepage: http://github.com/aelve/microlens-bug-reports: http://github.com/aelve/microlens/issues+author: Edward Kmett, Artyom Kazak+maintainer: Monadfix <hi@monadfix.io>+homepage: http://github.com/monadfix/microlens+bug-reports: http://github.com/monadfix/microlens/issues category: Data, Lenses build-type: Simple extra-source-files:@@ -21,15 +23,16 @@ source-repository head type: git- location: git://github.com/aelve/microlens.git+ location: git://github.com/monadfix/microlens.git library exposed-modules: Lens.Micro.Contra -- other-modules: -- other-extensions: build-depends: base >=4.5 && <5- , contravariant >=1.3 && <2 , microlens >=0.4 && <0.5+ if impl(ghc < 8.6)+ build-depends: contravariant >=1.3 && <2 ghc-options: -Wall -fwarn-tabs
src/Lens/Micro/Contra.hs view
@@ -1,13 +1,11 @@-{-# LANGUAGE-CPP,-RankNTypes,-Safe- #-}+{-# LANGUAGE CPP #-}+{-# LANGUAGE RankNTypes #-}+{-# LANGUAGE Safe #-} {- | Module : Lens.Micro.Contra-Copyright : (C) 2013-2016 Edward Kmett, 2015-2016 Artyom+Copyright : (C) 2013-2016 Edward Kmett, 2015-2016 Artyom Kazak, 2018 Monadfix License : BSD-style (see the file LICENSE) This module provides types and functions that require 'Contravariant'; they aren't included in the main microlens package because <http://hackage.haskell.org/package/contravariant contravariant> has a lot of dependencies.