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
|Versions [RSS] [faq]||0.1|
|Dependencies||base (>=4.5 && <5), deepseq (>=1.1 && <1.5), ghc-prim [details]|
|Author||Herbert Valerio Riedel|
|Revised||Revision 1 made by HerbertValerioRiedel at 2017-06-19T09:02:36Z|
|Source repo||head: git clone https://github.com/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|
|Downloads||24494 total (567 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'.