packages feed

base-compat-batteries 0.10.2 → 0.10.3

raw patch · 3 files changed

+30/−3 lines, 3 filesdep ~base-compatPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: base-compat

API changes (from Hackage documentation)

Files

CHANGES.markdown view
@@ -1,3 +1,8 @@+## Changes in 0.10.3 [2018.07.02]+ - This coincides with the `base-compat-0.10.3` release. Refer to the+   [`base-compat` changelog](https://github.com/haskell-compat/base-compat/blob/master/base-compat/CHANGES.markdown#changes-in-0103-20180702)+   for more details.+ ## Changes in 0.10.2 [2018.07.02]  - Sync with `base-4.12`/GHC 8.6  - Introduce the `Data.Functor.Contravariant.Compat` module, which
base-compat-batteries.cabal view
@@ -1,5 +1,5 @@ name:             base-compat-batteries-version:          0.10.2+version:          0.10.3 license:          MIT license-file:     LICENSE copyright:        (c) 2012-2018 Simon Hengel,@@ -55,8 +55,8 @@   ghc-options:       -Wall   build-depends:-      base        >= 4.3    && < 5,-      base-compat == 0.10.2+      base        >= 4.3 && < 5,+      base-compat == 0.10.3   if !impl(ghc >= 7.8)     build-depends:       tagged >= 0.8.5 && < 0.9@@ -222,6 +222,7 @@       Foreign.Marshal.Alloc.CompatSpec       Foreign.Marshal.Utils.CompatSpec       Numeric.CompatSpec+      Prelude.CompatSpec       System.Environment.CompatSpec       Text.Read.CompatSpec   build-depends:
+ test/Prelude/CompatSpec.hs view
@@ -0,0 +1,21 @@+module Prelude.CompatSpec (main, spec) where++import           Test.Hspec++import           Prelude ()+import           Prelude.Compat++main :: IO ()+main = hspec spec++spec :: Spec+spec = do+  describe "($!)" $ do+    it "is infixr 0" $ do -- #54+      (succ $! succ $! 0) `shouldBe` (2 :: Int)+      (succ $! 2 *** 2)   `shouldBe` (5 :: Int)+++infixr 1 ***+(***) :: Int -> Int -> Int+(***) = (*)