Only: The 1-tuple type or single-value "collection"
This package provides a canonical anonymous 1-tuple type missing from Haskell for attaching typeclass instances.
NOTE: There is also the OneTuple package which
by using a boxed data
-type provides a 1-tuple type which has
laziness properties which are more faithful to the ones of Haskell's
native tuples; whereas the primary purpose of Only
is to
provide the traditionally so named type-wrapper for attaching typeclass
instances.
Downloads
- Only-0.1.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
Versions [RSS] | 0.1 |
---|---|
Dependencies | base (>=4.5 && <5), deepseq (>=1.1 && <1.6), ghc-prim [details] |
License | BSD-3-Clause |
Author | Herbert Valerio Riedel |
Maintainer | hvr@gnu.org |
Revised | Revision 2 made by AndreasAbel at 2023-08-06T10:03:06Z |
Category | Data |
Bug tracker | https://github.com/haskell-hvr/Only/issues |
Source repo | head: git clone https://github.com/haskell-hvr/Only.git |
Uploaded | by HerbertValerioRiedel at 2017-06-12T20:31:23Z |
Distributions | Arch:0.1, Fedora:0.1, LTSHaskell:0.1, NixOS:0.1, Stackage:0.1, openSUSE:0.1 |
Reverse Dependencies | 14 direct, 4060 indirect [details] |
Downloads | 30495 total (187 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2017-06-12 [all 1 reports] |