You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mtl now provides a number of useful, unreleased changes (among them instances for Control.Monad.Trans.Writer.CPS and Control.Monad.RWS.CPS which were introduced in transformers-0.5.6.2).
Can we get a new release of this library in time for GHC 8.10, or has that ship sailed?
Reacted by Junyoung/"Clare" Jang, FTS, Nadeem Bitar, Alexis King, Emily Pillmore, Андреев Кирилл, sheaf, Peter Kjeld Andersen and Zachary Churchill
@hvr@RyanGlScott what is the process for cutting a new release of mtl? I'm happy to take over that responsibility but I need to make sure I'm doing everything right.
It would sure be nice to see this released, I've just had to jump though some extraneous hoops to wrap RWS.CPS in some code I'm working on, but with this merged I could just write deriving instance MonadRWS and be done...
Chess has upload perms for hackage now and if more help is needed I’ve asked @Bodigrim to chip in on release engineering , since he has excellent taste!
The main issue is that I am not sure what needs to be done (in terms of
issues/PRs) before a release, if anything. We could do a release now and
work on the other stuff later, or we could work on them now and delay the
release. The balance between those two is what has kept me from inaction.
After we have made a decision, we need to take mtl master and build a lot
of its biggest reverse dependencies on hackage, and also base/ghc, against
it, to make sure we didn't cause mass breakage.
MTL upgrades already thrash binary caches. Avoiding mass breakage is
something that needs careful attention. @Bodigrim@cartazio maybe we could
do a video call or something to figure out our plan of attack? Anyone else
who wants to join in on this? Please let me know.
@phadej, do you mean that mtl will never cut a new release?
I mean, this repository already contains codes related to Control.Monad.Writer.CPS, so if mtl ever cuts a new release, it will be a part of mtl, do I mistake something?
I'm reasnoably confident its a typo reference to mtl-compat vs write-csp-mtl being a sibling compat? (does mtl-compat or transformers-compat note this anywhere?).
I think viktor raises the right point. And I think the division of
responsibility should be the one that
A) avoids needlessly breaking preexisting code
B) ensures that future new code need only transformers mtl and
mtl/transformers-compat. (Any other compat package should just be a
reexport of compat stuff from there )
FWIW, though it probably does not have to be stated, I don't know enough history, or have broad enough contact with the existing library ecosystem to suggest any particular strategy. I hope that someone with the right expertise will be able to step forward and suggest a specific strategy that can achieve consensus.
make transformers-compat be compat package only for transformers
repurpose mtl-compat to be mtltrue compat package
make writer-cps-transformers use transformers-compat
make writer-cps-mtl use mtl-compat
First two packages are maintaiend by Ryan Scott, who is usually very responsive. writer-cps-* packages are maintained by Daniel Mendler who seems to be active on GitHub (nick: @minad).
The current problem is that transformers-compat is a compat package
for bothtransformers and mtl. mtl-compat shims small additional bits.
This is non-trivial engineering task, but relatively straight-forward,
though needs careful execution.
(causing major versions for transformers-compat and mtl-compat).
Especially one needs to make sure that getting duplicate orphans
(e.g. from old writer-cps-mtl and new mtl-compat) is at least unluckily,
if cannot be avoided completely.
The benefit is that dependency graph would be static.
Now it is dynamic, sometimes transformers-compat depends on mtl, sometimes it doesn't.
The follow-up benefit is that evolution of both transformers
and mtl won't be hindered by unclear compatibility story.
On Mon, Feb 15, 2021 at 12:27 AM Oleg Grenrus ***@***.***> wrote:
I'd suggest the following:
- make transformers-compat be compat package *only* for transformers
- repurpose mtl-compat to be mtl *true* compat package
- make writer-cps-transformers use transformers-compat
- make writer-cps-mtl use mtl-compat
First two packages are maintaiend by Ryan Scott, who is usually very
responsive.
writer-cps-* packages are maintained by Daniel Mendler who seems to be
active on GitHub (nick: @minad <https://github.com/minad>).
The current problem is that transformers-compat is a compat package
for *both* transformers and mtl. mtl-compat shims small additional bits.
This is non-trivial engineering task, but relatively straight-forward,
though needs careful execution.
(causing major versions for transformers-compat and mtl-compat).
The benefit is that dependency graph would be static.
Now it is dynamic, sometimes transformers-compat depends on mtl sometimes
it doesn't.
The follow-up benefit is that evolution of both transformers
and mtl won't be hindered by no compatibility story.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#69 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACKMEPRRJLMQTXPELW2ZUTS7DLGXANCNFSM4JYR7B6A>
.
Is someone is interested in maintainer rights for the writer-cps-* compatibility packages? @phadej? This would help in avoiding such coordination issues.
Activity
Ailrun commentedon Apr 8, 2020
Now GHC 8.10 is released. Is there any progress on cutting a new release?
chessai commentedon Apr 8, 2020
@hvr @RyanGlScott what is the process for cutting a new release of mtl? I'm happy to take over that responsibility but I need to make sure I'm doing everything right.
cartazio commentedon Apr 8, 2020
last i checked, @ekmett was maintainer, or am i way out of date?
ekmett commentedon Apr 9, 2020
It is still me. I'd be open to accepting a new maintainer or co-maintainer, @chessai.
chessai commentedon Apr 9, 2020
@ekmett I'm certainly interested. What is the process for cutting a new release? Are there any tickets we should consider resolving before one?
Ailrun commentedon Apr 29, 2020
Any updates?
vdukhovni commentedon May 11, 2020
It would sure be nice to see this released, I've just had to jump though some extraneous hoops to wrap RWS.CPS in some code I'm working on, but with this merged I could just write
deriving instance MonadRWSand be done...cartazio commentedon May 11, 2020
Chess has upload perms for hackage now and if more help is needed I’ve asked @Bodigrim to chip in on release engineering , since he has excellent taste!
vdukhovni commentedon May 13, 2020
Good to know this is progressing...
chessai commentedon May 13, 2020
phadej commentedon May 13, 2020
There is https://hackage.haskell.org/package/writer-cps-mtl-0.1.1.6/docs/Control-Monad-Writer-CPS.html package. And back then when we discussed with @RyanGlScott we decided that it's better to keep writer-cps compat stuff there.
I.e. not to make everything worse by migrating
writer-cps-mtlusers tomtl. It's PITA.Remember,
mtlis now distributed with GHC. One would like to avoid need formtl-compat(which exists, but it's not owned by CLC afaik).phadej commentedon May 13, 2020
The above mentioned discussion is in ekmett/transformers-compat#39
cartazio commentedon May 13, 2020
@phadej do you mean
writer-cps-mtlusers tomtl-compat. or did you meanmtl?Ailrun commentedon May 13, 2020
@phadej, do you mean that mtl will never cut a new release?
I mean, this repository already contains codes related to Control.Monad.Writer.CPS, so if mtl ever cuts a new release, it will be a part of mtl, do I mistake something?
cartazio commentedon May 13, 2020
I'm reasnoably confident its a typo reference to mtl-compat vs write-csp-mtl being a sibling compat? (does mtl-compat or transformers-compat note this anywhere?).
rather than about
mtl9 remaining items
vdukhovni commentedon Feb 14, 2021
That's probably the easy part. Has a decision been made on the division of responsibilities between:
There seems to be a coordination issue here that cuts across packages, that's the real obstacle...
chessai commentedon Feb 14, 2021
Are we blocked on #81, which resolved #44?
cartazio commentedon Feb 15, 2021
vdukhovni commentedon Feb 15, 2021
FWIW, though it probably does not have to be stated, I don't know enough history, or have broad enough contact with the existing library ecosystem to suggest any particular strategy. I hope that someone with the right expertise will be able to step forward and suggest a specific strategy that can achieve consensus.
phadej commentedon Feb 15, 2021
I'd suggest the following:
transformers-compatbe compat package only fortransformersmtl-compatto bemtltrue compat packagewriter-cps-transformersusetransformers-compatwriter-cps-mtlusemtl-compatFirst two packages are maintaiend by Ryan Scott, who is usually very responsive.
writer-cps-*packages are maintained by Daniel Mendler who seems to be active on GitHub (nick: @minad).The current problem is that
transformers-compatis a compat packagefor both
transformersandmtl.mtl-compatshims small additional bits.This is non-trivial engineering task, but relatively straight-forward,
though needs careful execution.
(causing major versions for
transformers-compatandmtl-compat).Especially one needs to make sure that getting duplicate orphans
(e.g. from old
writer-cps-mtland newmtl-compat) is at least unluckily,if cannot be avoided completely.
The benefit is that dependency graph would be static.
Now it is dynamic, sometimes
transformers-compatdepends onmtl, sometimes it doesn't.The follow-up benefit is that evolution of both
transformersand
mtlwon't be hindered by unclear compatibility story.ekmett commentedon Feb 15, 2021
minad commentedon Feb 15, 2021
Is someone is interested in maintainer rights for the writer-cps-* compatibility packages? @phadej? This would help in avoiding such coordination issues.
phadej commentedon Feb 15, 2021
@minad, perfectly would be the same people as for
transformers(-compat)andmtl(-compat), i.e. not me.minad commentedon Feb 15, 2021
Just to be very explicit, who should be added? I am sorry - I didn't follow the discussion recently. I just got your ping.
Kleidukos commentedon Feb 15, 2021
Wouldn't that be the whole CLC?
Bodigrim commentedon Feb 19, 2021
@Kleidukos it is technically impossible. There is no such user group on Hackage.
@minad please grant access to https://hackage.haskell.org/user/chessai and https://hackage.haskell.org/user/topos
minad commentedon Feb 19, 2021
@emilypi @chessai I added you to the maintainer group on hackage of various writer-cps-* packages. Furthermore I added you to the github repositories https://github.com/minad/writer-cps-transformers and https://github.com/minad/writer-cps-mtl. Please let me know if something else is needed.
chessai commentedon Feb 28, 2021
@minad could you please re-send my github invitations? They expired.
Furthermore, Emily and I have committed time coordinating to getting this all done next weekend.
jkachmar commentedon May 7, 2022
Closed via a019ae8 🎉