-
Notifications
You must be signed in to change notification settings - Fork 70
Add isEmpty #222
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
base: master
Are you sure you want to change the base?
Add isEmpty #222
Conversation
PD: The huge diff comes from purs-tidy. Seems it hasn't been formatted before. Can undo if you prefer a smaller diff. |
Formatting via purs tidy was something we were going to do as a series of maintenance PRs after As for this PR, ugh. 😄 I've never really liked using |
Ok can undo the formatting.
yes it's the same for me and also for others. |
838c5db
to
8b8cd2f
Compare
I'm personally in favor of using |
To clarify my original comment, I wasn't sure if this was one of those "that ship has sailed" issues or not. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sigma-andex Can you add the deprecation notice to null
and update the changelog to mention that?
To be clear, I’m not totally sure we should merge this now vs the more normal breaking release cycle. |
Is it breaking with Warning? Only if one uses psa right? Alternatively we can add it and then add the Warning constraint in the next release |
Why not? This change isn't a breaking change and it makes it easier for us to know to remove Were you thinking there wouldn't be a deprecation notice at all, and we would just rename |
As a core lib, and a change to a frequently used API, I think it should have a long deprecation cycle. Having experience with MonadZero warnings, they are extremely irritating. I don’t think we should add a deprecation warning until we are ready for everyone to migrate. Please don’t be hasty. There’s absolutely no reason to be. |
It would be helpful to document all libraries in core that use |
Ok I removed the deprecation warning again.
I can have a look at this. Besides |
We already have |
@sigma-andex Can you compile a list of all APIs you think should be renamed and open a Discourse post for each one? For example,
I think a Discourse post following this general template would work: Title:
Body:
For example, something like this: Proposal: renaming the
Other potential new names: none that come to mind Potential name clashes with other pre-existing names:
To workaround these name clashes, one would need to use a qualified import (e.g. |
@JordanMartinez I can have a look at it. Discord has a poll feature, so we could just open (multiple choice) polls for each option. Don't you think it would be better to just have one discord post? |
No because I expect there to be a lot of bikeshedding. In some posts (e.g. |
What should be the deadline for the pools? Like 4 weeks? |
4 weeks sounds good to me. That being said, I don't think the polls will be the only factor when considering what to do here. In other words, if there is a majority that support some new name |
Description of the change
Adds a human-friendly version of
null
:isEmpty
Checklist: