-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make the type of (&)
analogous to the one of ($)
#158
Comments
Note: this would keep the existing implementation. x & f = f x |
I do not expect much fight over this, seems a very reasonable addition, but there is no way forward unless someone creates an MR and completes an impact assessment. |
@andreasabel The proposal process is outlined in this very repository. Could you please describe why you chose to ignore it when making this proposal? |
@mixphix: As this very issue demonstrates, the process is somewhat broken, if it manages to pass a generalization of |
@andreasabel You're making several assumptions:
Insulting volunteers will not get you bonus points for a sub-par proposal. |
I am not insulting volunteers, I am just not a believer that everything can be channeled through one process. I think you need a some kind of fast-track for such fixes, and some oversee that keeps the API consistent. |
Again you're making assumptions. |
@hasufell : Sorry for making assumptions, that's human nature, I suppose. I am happy to read your personal CLC mission statement so I make less assumptions about your intentions. Not sure if this discussion leads somewhere this way. I don't really have anything to add. If you think this proposal is "right", then take it, otherwise leave it. |
https://gist.github.com/hasufell/d9d33cc44f65163f493e09da311ef6a7
Agreed. I propose to close this proposal due to lack of a champion (the issue creator indicated they won't create an MR). |
It's premature to close. |
Are you volunteering to champion the proposal? |
I'd be happy to create an MR for this, if noone else does. |
Thank you @konsumlamm for your generous offer. |
@andreasabel I'm not sure what's implied here. Putting responsibility for decade-old decisions made by experts on the current CLC seems at the very best unwise.
If you want just to file an issue, but have no intent to fix it in the foreseeable future, I'd recommend using https://gitlab.haskell.org/ghc/ghc/-/issues. It's reasonable to prioritise proposals with willing contributors over non-proposals / open-ended issues. The truth, however, is that we'll never get time for the second category, so there is no point to stockpile unactionable items.
@konsumlamm could you please confirm that you are willing to create an MR and make an impact assessment as well? |
MR: https://gitlab.haskell.org/ghc/ghc/-/merge_requests/10338. I decided to make I can also try to make an impact assessment, when I get the time (hopefully this week). |
@Bodigrim wrote:
Ok, thanks, I'll file issues there then, if this is the actual issue tracker for Anyway, thanks to @konsumlamm for volunteering! |
I tried to build
This looks like a bug in So in summary: Everything in |
@konsumlamm Some more discussion on that problem here. |
Thanks @konsumlamm. Dear CLC members, let's vote on the proposal to make -(&) :: a -> (a -> b) -> b
+(&) :: forall r a (b :: TYPE r). a -> (a -> b) -> b This brings its type signature in line with (The further generalisation as for The MR is available at https://gitlab.haskell.org/ghc/ghc/-/merge_requests/10338/diffs. The impact assessment did not discover any breakage in the ecosystem. @tomjaguarpaw @mixphix @chshersh @hasufell @angerman @parsonsmatt +1 from me. |
+1 |
-1 If we could match |
+1 |
1 similar comment
+1 |
+1. I see no reason to stall nonbreaking generalizations. |
Thanks all, 5 votes in favour out of 7 possible are enough to approve. |
Proposal: establish uniformity between
($)
and(&)
. They are currently out of sync (base-4.18
).I think when
($)
was generalized to its present form,(&)
was forgotten.Proposal: change to
Note: #132 generalizes the type of
($)
even further, but @phadej thinks the same is not possible for(&)
:($)
fully representation polymorphic #132 (comment)Disclaimer: I'll probably won't make a MR myself.
The text was updated successfully, but these errors were encountered: