Skip to content

Add non-empty Map #58

Description

@gabejohnson

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions