these-skinny 0.7.5 → 0.7.6
raw patch · 2 files changed
+31/−40 lines, 2 filesdep ~bifunctorsdep ~deepseqdep ~semigroupsPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: bifunctors, deepseq, semigroups
API changes (from Hackage documentation)
Files
- Data/These.hs +2/−2
- these-skinny.cabal +29/−38
Data/These.hs view
@@ -212,7 +212,7 @@ bitraverse f g (These x y) = These <$> f x <*> g y instance (Semigroup a) => Applicative (These a) where- pure = That+ pure = That This a <*> _ = This a That _ <*> This b = This b That f <*> That x = That (f x)@@ -222,7 +222,7 @@ These a f <*> These b x = These (a <> b) (f x) instance (Semigroup a) => Monad (These a) where- return = pure+ return = pure This a >>= _ = This a That x >>= k = k x These a x >>= k = case k x of
these-skinny.cabal view
@@ -1,31 +1,20 @@-cabal-version: 2.4-name:- these-skinny-version:- 0.7.5-synopsis:- A fork of the 'these' package without the dependency bloat-description:+Name: these-skinny+Version: 0.7.6+Synopsis: A fork of the 'these' package without the dependency bloat.+Homepage: https://github.com/chessai/these-skinny+License: BSD3+License-file: LICENSE+Author: C. McCann+Maintainer: chessai1996@gmail.com+Category: Data+Build-type: Simple+Extra-source-files: CHANGELOG.md+Cabal-version: >=1.10+Description: This package provides a data type @These a b@ which can hold a value of either type or values of each type. This is usually thought of as an "inclusive or" type (contrasting @Either a b@ as "exclusive or") or as an "outer join" type (contrasting @(a, b)@ as "inner join").-homepage:- https://github.com/chessai/these-skinny-license:- BSD-3-Clause-license-file:- LICENSE-author:- C. McCann-maintainer:- chessai <chessai1996@gmail.com>-category:- Data-build-type:- Simple-extra-source-files:- CHANGELOG.md tested-with: GHC==7.4.2, GHC==7.6.3,@@ -34,28 +23,30 @@ GHC==8.0.2, GHC==8.2.2, GHC==8.4.4- GHC==8.6.5,- GHC==8.8.4,- GHC==8.10.7,- GHC==9.0.2,- GHC==9.2.1+ GHC==8.6.3 source-repository head type: git location: https://github.com/chessai/these-skinny.git -library- exposed-modules:- Data.These- build-depends:- , base >= 4.4 && < 4.17- , deepseq+Library+ Exposed-modules: Data.These++ Build-depends:+ base >= 4.4 && < 5+ , deepseq >= 1.3 , ghc-prim+ if impl(ghc < 8.2)- build-depends: bifunctors+ Build-depends:+ bifunctors >= 5+ if impl(ghc < 8.0)- build-depends: semigroups- default-language:+ Build-depends:+ semigroups >= 0.9++ Default-Language: Haskell2010+ ghc-options: -Wall