Skip to content
This repository has been archived by the owner on Aug 28, 2022. It is now read-only.
/ list-singleton Public archive

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

License

Notifications You must be signed in to change notification settings

tfausak/list-singleton

Repository files navigation

list-singleton

CI Hackage Stackage

⚠️ 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.