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

Add non-empty Map #58

Open
gabejohnson opened this issue Apr 20, 2022 · 0 comments
Open

Add non-empty Map #58

gabejohnson opened this issue Apr 20, 2022 · 0 comments

Comments

@gabejohnson
Copy link

At work we newtype Map in a manner analogous to Data.Set.NonEmpty.NonEmptySet, copying the API of Data.Map.Internal without empty and dealing with partial functions by returning Maybe (NonEmptyMap k v).

I'm curious if there's any interest in adding such a type to this package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant