@hackage NonEmpty0.1
Library providing a non-empty list datatype, and total functions operating on it
Categories
License
BSD-3-Clause
Maintainer
Robin Green <greenrd@greenrd.org>
Links
Versions
- 0.1 Thu, 19 Mar 2009
Installation
Dependencies (1)
Dependents (2)
@hackage/acme-everything, @hackage/hranker
When you want to state that a list should always be non-empty, you can use this type. This enables you to avoid the error of taking the head or tail of an empty list.