commercialhaskell / stackage

Stable Haskell package sets: vetted consistent packages from Hackage
https://www.stackage.org/
MIT License
527 stars 802 forks source link

th-abstraction-0.6.0.0 #7074

Closed alaendle closed 8 months ago

alaendle commented 1 year ago

th-abstraction-0.6.0.0 (changelog) (Ryan Scott ryan.gl.scott@gmail.com @RyanGlScott) is out of bounds for:

arybczak commented 1 year ago

I made a revision with updated bounds for effectful-th.

serras commented 1 year ago

kind-generics-th-0.2.3.3 uploaded with relaxed version bounds.

Topsii commented 1 year ago

I think it makes sense to point out that th-abstraction-0.6.0.0 contains breaking changes that will not show unless you compile with GHC 9.8 or later.

From the changelog:

Because BndrVis is a synonym for () on pre-9.8 versions of GHC, this change is unlikely to break any existing code, provided that you build it with GHC 9.6 or earlier. If you build with GHC 9.8 or later, on the other hand, it is likely that you will need to update your existing code. Here are some possible ways that your code might fail to compile with GHC 9.8, along with some migration strategies: ...

tomjaguarpaw commented 1 year ago

Ah, that's pretty critical information, thanks @Topsii. It seems to violate (what I thought was) the point of th-abstraction, however.

gelisam commented 1 year ago

Bumped in recursion-schemes-5.2.2.4 revision 3.

It seems to violate (what I thought was) the point of th-abstraction, however.

I don't think the point of th-abstraction is that if your code compiles against th-abstraction with one version of ghc, then your code will also compile against th-abstraction with every other version of ghc; I think the point is that th-abstraction does the CPP dance around TemplateHaskell so you don't have to. It is easier, but unfortunately not trivially-easy, to write code against a single version of th-abstraction which works with multiple versions of ghc, than it is to write code against the TemplateHaskell API which works with multiple versions of ghc.

ysangkok commented 11 months ago

@alaendle:

alaendle commented 11 months ago

@ysangkok I've updated the issue to only show the remaining packages.

ysangkok commented 8 months ago

I think this can be closed as Nightly is now on tasty-1.5. As was done with aeson-2.2.