mirror of
https://github.com/reanimate/reanimate.git
synced 2026-09-09 07:03:11 +00:00
Fix build for ghc-9.2 (#301)
* Fix builds against hashable >= 1.4 Derive Eq for APolygon as required by the added Eq constraint on Hashable. * Bump version to 1.1.7 for new instance, relax aeson bounds.
This commit is contained in:
parent
d4d3898831
commit
7d949ea0ea
3 changed files with 8 additions and 3 deletions
|
|
@ -5,6 +5,11 @@ Notable changes to the project will be documented in this file.
|
|||
The format is based on [Keep a Changelog](http://keepachangelog.com/) and the
|
||||
project adheres to the [Haskell Package Versioning
|
||||
Policy (PVP)](https://pvp.haskell.org)
|
||||
|
||||
## 1.1.7.0 -- 2022-10-15
|
||||
|
||||
* Derive `Eq` for APolygon
|
||||
|
||||
## 1.1.6.0 -- 2022-06-02
|
||||
|
||||
* Drop hgeometry dependency.
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ cabal-version: 2.0
|
|||
-- see http://haskell.org/cabal/users-guide/
|
||||
|
||||
name: reanimate
|
||||
version: 1.1.6.0
|
||||
version: 1.1.7.0
|
||||
-- synopsis:
|
||||
-- description:
|
||||
license: PublicDomain
|
||||
|
|
@ -110,7 +110,7 @@ library
|
|||
build-depends:
|
||||
base >=4.10 && <5,
|
||||
JuicyPixels >=3.3.3,
|
||||
aeson >=1.3.0.0 && <2,
|
||||
aeson >=1.3.0.0 && <2.2,
|
||||
ansi-terminal >=0.8.0.4,
|
||||
array >=0.5.2.0,
|
||||
attoparsec >=0.13.2.0,
|
||||
|
|
|
|||
|
|
@ -115,7 +115,7 @@ data APolygon a = Polygon
|
|||
, polygonOffset :: Int
|
||||
, polygonTriangulation :: Triangulation
|
||||
, polygonSSSP :: Vector SSSP
|
||||
}
|
||||
} deriving Eq
|
||||
type Polygon = APolygon Rational
|
||||
type P = V2 Double
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue