The NonEmpty package
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.
Properties
| Version | 0.1 |
|---|---|
| Dependencies | base |
| License | BSD3 |
| Copyright | Copyright (C) Robin Green 2009 |
| Author | Robin Green |
| Maintainer | Robin Green <greenrd@greenrd.org> |
| Stability | experimental |
| Category | Data |
| Bug tracker | mailto:greenrd@greenrd.org |
| Source repository | darcs get http://patch-tag.com/publicrepos/NonEmpty |
| Upload date | Thu Mar 19 20:49:34 UTC 2009 |
| Uploaded by | RobinGreen |
| Built on | ghc-6.10, ghc-6.12, ghc-7.0 |
Modules
- Data
Downloads
- NonEmpty-0.1.tar.gz (Cabal source package)
- package description (included in the package)