elm-ancillary-nonempty-list
Introduction
This package provides additional convenience functions not found in
mgold/elm-nonempty-list
for working with lists that are guaranteed (at compile time) to be non-empty.
As with all, elm-ancillary-*
packages, these began as functions we've found
useful for langyu
but often include additional functions.
Installation
elm install langyu-app/elm-ancillary-nonempty-list
Contributing
Contributions are welcome, so long as it has the potential to be generally
useful and isn't found already in mgold/elm-nonempty-list
.
Changelog
-
1.6.0
-
✨ Add uniqueness functions:unique
,uniqueBy
,allDifferent
, andallDifferentBy
.
-
-
1.5.0
-
✨ -- Add randomgenerator
-
-
1.4.0
-
✨ -- Add indexed folds (indexedFoldl
andindexedFoldr
) -
✨ -- Add element finds (elemIndex
,elemIndices
,findIndex
,findIndices
, andfindMap
)
-
-
1.3.0
-
✨ -- AddappendList
andprependList
-
📄 -- Fixelm.json
mistakenly listing GPL-3.0 license still
-
-
1.2.0
-
✨ -- Addinitialize
-
-
1.1.0
-
📄 -- Release under BSD 3-Clause license -
✨ -- Addcount
,find
,foldr
,foldr1
, andsequenceGenerators
-
📝 -- Add doc examples (checked with elm-verify-examples)
-
-
1.0.0
-- Initial release