Skip to content

A non-empty set implementation with similar API to elm/core Set.

License

Notifications You must be signed in to change notification settings

the-sett/elm-nonempty-set

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contacts for Support

elm-nonempty-set

elm-nonempty-set provides a variation on the elm/core Set module, for non-empty sets.

The APIs are identicial where possibly, but have different types in places depending on the non-emptiness property.

For example in elm/core Set:

fromList : List comparable -> Set comparable

corresponds to:

fromList : List comparable -> Maybe (NonemptySet comparable)

as the list may be empty, so cannot create a non-empty set.

About

A non-empty set implementation with similar API to elm/core Set.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published