Skip to content

Implement universeNonEmpty #228

@chshersh

Description

@chshersh

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

Metadata

Metadata

Assignees

Labels

extraRelude.Extra

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions