achirkin / easytensor

Many-dimensional type-safe numeric ops
https://hackage.haskell.org/package/easytensor
BSD 3-Clause "New" or "Revised" License
46 stars 2 forks source link

`dimensions-1.0.1.1` fails to build with GHC 8.10 and up #33

Open andreasabel opened 1 year ago

andreasabel commented 1 year ago
dimensions-1.0.1.1$ cabal build -w ghc-8.10.7
...
src/Numeric/Dim.hs:123:29: error: Not in scope: type variable ‘k’
    |
123 | pattern Dim :: forall (n :: k) . () => KnownDim n => Dim n
    |                             ^
andreasabel commented 1 year ago

Addedbase < 4.14 constraint to dimensions < 2 packages on Hackage.