list-singleton

Easily and clearly create lists with only one element in them.

LTS Haskell 19.25:2.0.0.2
Stackage Nightly 2022-09-01:2.0.0.2
Latest on Hackage:2.0.0.2

See all snapshots list-singleton appears in

MIT licensed
Maintained by Taylor Fausak
This version can be pinned in stack with:list-singleton-2.0.0.2@sha256:b6ba7229ee76841b8974640cf4d035c69968f631e3251a76c557ff8dd4cdfef4,1872

Module documentation for 2.0.0.2

Depends on 1 package(full list with versions):

list-singleton

CI Hackage Stackage

:warning: This package is not maintained anymore. As of base-4.15.0.0, both Data.List.singleton and Data.List.NonEmpty.singleton are available.

The list-singleton is a Haskell package allows you to easily and clearly create lists with only one element in them, which are typically called “singleton lists” or simply “singletons”.

For more details, read the announcement post on my blog or the documentation on Hackage.

Changes

Change log

list-singleton follows the Package Versioning Policy. You can find release notes on GitHub.