Skip to content
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

Implement universeNonEmpty #228

Closed
chshersh opened this issue Nov 3, 2019 · 0 comments · Fixed by #274
Closed

Implement universeNonEmpty #228

chshersh opened this issue Nov 3, 2019 · 0 comments · Fixed by #274
Assignees
Labels
extra Relude.Extra

Comments

@chshersh
Copy link
Contributor

chshersh commented Nov 3, 2019

Almost always universe is a non-empty list. And sometimes you need NonEmpty list. So it would be nice to implement such a helper function. I imagine the following type:

universeNonEmpty :: (Bounded a, Enum a) => NonEmpty a
@chshersh chshersh added the extra Relude.Extra label Nov 3, 2019
@chshersh chshersh added this to the v0.7.0.0: Refiner milestone Feb 25, 2020
@chshersh chshersh self-assigned this May 11, 2020
chshersh added a commit that referenced this issue May 11, 2020
chshersh added a commit that referenced this issue May 11, 2020
vrom911 pushed a commit that referenced this issue May 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
extra Relude.Extra
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant