plot 0.2.3.10 → 0.2.3.11
raw patch · 3 files changed
+19/−8 lines, 3 filesdep ~base
Dependency ranges changed: base
Files
- CHANGES +3/−0
- lib/Control/Monad/Supply.hs +9/−3
- plot.cabal +7/−5
CHANGES view
@@ -142,3 +142,6 @@ 0.2.3.10: * adapt to new MonadFail by vaibhavsagar+0.2.3.11:+ * enabled compilation on ghc 8.8.3, fixing Monad fail.+ (by hasufell)
lib/Control/Monad/Supply.hs view
@@ -29,10 +29,14 @@ #if !(MIN_VERSION_base(4,8,0)) import Control.Applicative #endif-import Control.Monad.Writer-import Control.Monad.Reader-import Control.Monad.State+import Control.Monad.Writer hiding ( fail )+import Control.Monad.Reader hiding ( fail )+import Control.Monad.State hiding ( fail ) import Control.Monad.Trans()+#if !MIN_VERSION_base(4,13,0)+import Control.Monad.Fail ( MonadFail, fail )+import Prelude hiding ( fail )+#endif ----------------------------------------------------------------------------- @@ -84,6 +88,8 @@ m >>= f = SupplyT $ \s -> do ~(a,s') <- runSupplyT m s runSupplyT (f a) s'++instance (MonadFail m, Monad m) => MonadFail (SupplyT s m) where fail str = SupplyT $ \_ -> fail str instance MonadTrans (SupplyT s) where
plot.cabal view
@@ -1,5 +1,5 @@ Name: plot-Version: 0.2.3.10+Version: 0.2.3.11 License: BSD3 License-file: LICENSE Copyright: (c) A.V.H. McPhail 2010, 2012-2017, 2019@@ -35,8 +35,8 @@ . Category: Graphics -Tested-with: GHC==8.2.2-Cabal-version: >= 1.8+Tested-with: GHC==8.8.3+Cabal-version: >= 1.10 Build-type: Simple Extra-source-files: README, CHANGES, LICENSE, THANKS@@ -48,14 +48,16 @@ library - Build-Depends: base >= 4 && < 6,+ default-language: Haskell2010+ + Build-Depends: base >= 4.9.0.0 && < 5, mtl > 2, array, transformers > 0.5 && < 0.7, pango >= 0.13 && < 0.14, cairo >= 0.13 && < 0.14, colour >= 2.2.1 && < 2.4, hmatrix >= 0.17 - Extensions: MultiParamTypeClasses+ default-extensions: MultiParamTypeClasses GeneralizedNewtypeDeriving TypeSynonymInstances FlexibleInstances