Skip to content

Commit

Permalink
allow base-4.19, test on GHC 9.8, and fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
byorgey committed Nov 13, 2023
1 parent 75c7212 commit 46a954a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions diagrams-core.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Build-type: Simple
Cabal-version: 1.18
Extra-source-files: diagrams/*.svg
extra-doc-files: diagrams/*.svg, CHANGELOG.md, README.markdown
Tested-with: GHC ==8.4.4 || ==8.6.5 || ==8.8.4 || ==8.10.7 || ==9.0.2 || ==9.2.8 || ==9.4.5 || ==9.6.2
Tested-with: GHC ==8.4.4 || ==8.6.5 || ==8.8.4 || ==8.10.7 || ==9.0.2 || ==9.2.8 || ==9.4.7 || ==9.6.3 || ==9.8.1
Source-repository head
type: git
location: git://github.com/diagrams/diagrams-core.git
Expand All @@ -36,7 +36,7 @@ Library
Diagrams.Core.Types,
Diagrams.Core.V

Build-depends: base >= 4.11 && < 4.19,
Build-depends: base >= 4.11 && < 4.20,
containers >= 0.4.2 && < 0.7,
unordered-containers >= 0.2 && < 0.3,
semigroups >= 0.8.4 && < 0.21,
Expand Down
1 change: 0 additions & 1 deletion src/Diagrams/Core/Measure.hs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ instance Semigroup a => Semigroup (Measured n a) where

instance Monoid a => Monoid (Measured n a) where
mempty = pure mempty
mappend = liftA2 mappend

instance Distributive (Measured n) where
distribute a = Measured $ \x -> fmap (\(Measured m) -> m x) a
Expand Down

0 comments on commit 46a954a

Please sign in to comment.