reanimate icon indicating copy to clipboard operation
reanimate copied to clipboard

getting start fail to compile hgeometry-0.13

Open schneiderlin opened this issue 2 years ago • 0 comments

cabal repl produce the following error

src/Data/Geometry/Vector/VectorFamilyPeano.hs:218:10: error:
    • Couldn't match type ‘Data.Vector.Fixed.Cont.Peano
                             (FromPeano d + 1)’
                     with ‘'S (Data.Vector.Fixed.Cont.Peano (FromPeano d))’
        arising from the superclasses of an instance declaration
    • In the instance declaration for ‘Hashable (VectorFamily d r)’
    |
218 | instance (ImplicitPeano d, Hashable r) => Hashable (VectorFamily d r) where
    |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
cabal: Failed to build hgeometry-0.13 (which is required by exe:animate from
animate-0.1.0.0). See the build log above for details.

environment

stack 2.7.3 cabal 3.6.2.0 ghc 8.10.7

reproduce

$ stack new animate github:reanimate/plain $ cd animate/ $ # both 'cabal repl' and 'stack repl' can be used here: $ cabal repl

schneiderlin avatar Feb 28 '22 03:02 schneiderlin