data-effects 0.3.0.0 → 0.3.0.1
raw patch · 3 files changed
+9/−2 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- ChangeLog.md +3/−0
- data-effects.cabal +2/−2
- src/Data/Effect/Concurrent/Parallel.hs +4/−0
ChangeLog.md view
@@ -14,3 +14,6 @@ * Added parallelism effects. * Added an effect for the `co-log` logging. * Generalize the 'Provider' effect.++## 0.3.0.1 -- 2024-11-03+* Fixed build error for GHC 9.4.1.
data-effects.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.4 name: data-effects-version: 0.3.0.0+version: 0.3.0.1 -- A short (one-line) description of the package. synopsis: A basic framework for effect systems based on effects represented by GADTs.@@ -39,7 +39,7 @@ source-repository head type: git location: https://github.com/sayo-hs/data-effects- tag: v0.3.0+ tag: v0.3.0.1 subdir: data-effects library
src/Data/Effect/Concurrent/Parallel.hs view
@@ -1,4 +1,5 @@ {-# LANGUAGE AllowAmbiguousTypes #-}+{-# LANGUAGE CPP #-} -- SPDX-License-Identifier: MPL-2.0 @@ -11,6 +12,9 @@ -} module Data.Effect.Concurrent.Parallel where +#if ( __GLASGOW_HASKELL__ < 906 )+import Control.Applicative (liftA2)+#endif import Control.Applicative (Alternative (empty, (<|>))) import Data.Tuple (swap)