composition-prelude 1.3.0.3 → 1.3.0.4
raw patch · 2 files changed
+44/−34 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- composition-prelude.cabal +40/−34
- src/Control/Composition.hs +4/−0
composition-prelude.cabal view
@@ -1,37 +1,43 @@-name: composition-prelude-version: 1.3.0.3-synopsis: Higher-order function combinators-description: Replacement for `composition` or `composition-exta`, exporting everything in one sane module.-homepage: https://github.com/vmchale/composition-prelude#readme-license: BSD3-license-file: LICENSE-author: Vanessa McHale-maintainer: vanessa.mchale@reconfigure.io-copyright: Copyright: (c) 2017 Vanessa McHale-category: Control, Data-build-type: Simple-extra-source-files: README.md- , stack.yaml- , .travis.yml-cabal-version: >=1.10+cabal-version: >=1.10+name: composition-prelude+version: 1.3.0.4+license: BSD3+license-file: LICENSE+copyright: Copyright: (c) 2017 Vanessa McHale+maintainer: vanessa.mchale@reconfigure.io+author: Vanessa McHale+homepage: https://github.com/vmchale/composition-prelude#readme+synopsis: Higher-order function combinators+description:+ Replacement for `composition` or `composition-exta`, exporting everything in one sane module.+category: Control, Data+build-type: Simple+extra-source-files:+ README.md+ stack.yaml+ .travis.yml -Flag development {- Description: Enable `-Werror`- manual: True- default: False-}+source-repository head+ type: git+ location: https://github.com/vmchale/composition-prelude -library- hs-source-dirs: src- exposed-modules: Control.Composition- build-depends: base >= 4.8 && < 5- default-language: Haskell2010- if flag(development)- ghc-options: -Werror- if impl(ghc >= 8.0)- ghc-options: -Wincomplete-uni-patterns -Wincomplete-record-updates- ghc-options: -Wall+flag development+ description:+ Enable `-Werror`+ default: False+ manual: True -source-repository head- type: git- location: https://github.com/vmchale/composition-prelude+library+ exposed-modules:+ Control.Composition+ hs-source-dirs: src+ default-language: Haskell2010+ ghc-options: -Wall+ build-depends:+ base >=4.8 && <5+ + if flag(development)+ ghc-options: -Werror+ + if impl(ghc >=8.0)+ ghc-options: -Wincomplete-uni-patterns -Wincomplete-record-updates
src/Control/Composition.hs view
@@ -45,6 +45,10 @@ #if MIN_VERSION_lens(3,0) import Control.Lens ((<&>)) #endif+#elif defined(MIN_VERSION_microlens)+#if MIN_VERSION_microlens(4,5)+import Lens.Micro ((<&>))+#endif #endif infixr 8 .*