list-singleton: Easily and clearly create lists with only one element in them.
Warning:
This package is not maintained anymore.
As of base-4.15.0.0
, both <code>Data.List.singleton</code>
and <code>Data.List.NonEmpty.singleton</code> are available.
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
Name | Description | Default |
---|---|---|
pedantic | Enables | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- list-singleton-2.0.0.2.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
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-28T12:16:03Z |
Distributions | |
Downloads | 2117 total (34 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-28 [all 1 reports] |