concrete functor and monad transformers
#91Migrate Foldable1 instances
The Foldable1
class (originally from the semigroupoids
library) was added to base in version 4.18.0.0 (GHC 9.6.1). The semigroupoids
library defined Foldable1
instances for data types from transformers
, so we should migrate those instances to transformers
itself.
I've implemented this change in https://hub.darcs.net/RyanGlScott/transformers/patch/6e6f1a275a957ec1acb5a7785e18a22306c86a1e on my transformers
fork.
- status set to closed
applied, thanks
Thanks! Would you be able to make a new Hackage release containing these changes? (Ideally, we could update GHC to use this version of
transformers
before a final version of GHC 9.6.1 is released.)Possible. I think this will require a major version increment, so there are a couple of other things I'd like to change at the same time.
Major in the sense of incrementing from 0.6 to 0.7? I was under the impression that the PVP does not require a major version bump if the only thing that you are adding are instances. (See the "Non-breaking changes" section under https://pvp.haskell.org/#version-numbers)
I think you're right, provided semigroupoids < 5.4 has its dependency tightened on hackage to base < 4.18 (which needs to happen anyway).
Yes, good point. I've applied appropriate revisions to all current
semigroupoids
Hackage releases to ensure that they are not buildable withbase-4.18
/GHC 9.6.I've uploaded it as 0.6.1.0.
Thanks again!