list-singleton: Easily and clearly create lists with only one element in them.

[ data, library, mit ] [ Propose Tags ] [ Report a vulnerability ]

The list-singleton package allows you to easily and clearly create lists with only one element in them, which are typically called "singleton lists" or simply "singletons". (Not to be confused with the singletons package!)

With any luck this library will be included in future versions of the base package. See this mailing list thread for an extended discussion: https://mail.haskell.org/pipermail/libraries/2019-August/029801.html.


[Skip to Readme]

Flags

Manual Flags

NameDescriptionDefault
pedantic

Enables -Werror, which turns warnings into errors.

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 1.0.0.0, 1.0.0.1, 1.0.0.2, 1.0.0.3, 1.0.0.4, 1.0.0.5, 2.0.0.0, 2.0.0.1, 2.0.0.2
Change log CHANGELOG.markdown
Dependencies base (>=4.13.0 && <4.18) [details]
License MIT
Author
Maintainer Taylor Fausak
Category Data
Source repo head: git clone https://github.com/tfausak/list-singleton
Uploaded by fozworth at 2022-08-27T19:50:23Z
Distributions
Downloads 2135 total (14 in the last 30 days)
Rating 2.0 (votes: 9) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2022-08-27 [all 1 reports]

Readme for list-singleton-2.0.0.1

[back to package description]

list-singleton

CI Hackage Stackage

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.