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
|Dependencies||base (>=4.5 && <5), deepseq (>=1.1 && <1.5), ghc-prim [details]|
|Author||Herbert Valerio Riedel|
|Revised||Revision 1 made by HerbertValerioRiedel at Mon Jun 19 09:02:36 UTC 2017|
|Source repo||head: git clone https://github.com/hvr/Only.git|
|Uploaded||by HerbertValerioRiedel at Mon Jun 12 20:31:23 UTC 2017|
|Distributions||Arch:0.1, Fedora:0.1, LTSHaskell:0.1, NixOS:0.1, Stackage:0.1|
|Downloads||11366 total (268 in the last 30 days)|
|Rating||(no votes yet) [estimated by Bayesian average]|
Docs available [build log]
Last success reported on 2017-06-12 [all 1 reports]
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'.
For package maintainers and hackage trustees