agrafix / Spock

Another Haskell web framework for rapid development
https://www.spock.li
679 stars 56 forks source link

Spock-core should have a reroute >= 0.7 constraint #180

Open sternenseemann opened 2 years ago

sternenseemann commented 2 years ago

Otherwise compilation will fail with:

[8 of 8] Compiling Web.Spock.Core   ( src/Web/Spock/Core.hs, dist/build/Web/Spock/Core.o, dist/build/Web/Spock/Core.dyn_o )

src/Web/Spock/Core.hs:26:5: error:
    Not in scope: type constructor or class ‘AltVar’
   |
26 |     AltVar (..),
   |     ^^^^^^^^^^^

Adjusting the bound via a Hackage revision probably prevents people from running into this by accident, which seems kind of likely since stackage LTS 19 pins reroute to 0.6.

sternenseemann commented 2 years ago

Additionally, it seems to me that 0.14.0.1 is an PVP violation, it should have been 0.14.1.0 since it newly exported AltVar?!

Bodigrim commented 2 years ago

As a Hackage trustee I made the necessary revision: https://hackage.haskell.org/package/Spock-core-0.14.0.1/revisions/