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
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'.
|Dependencies||base (>=4.5 && <5), deepseq (>=1.1 && <1.6), ghc-prim [details]|
|Author||Herbert Valerio Riedel|
|Revised||Revision 2 made by AndreasAbel at 2023-08-06T10:03:06Z|
|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, 3977 indirect [details]|
|Downloads||28656 total (192 in the last 30 days)|
|Rating||(no votes yet) [estimated by Bayesian average]|
|Status||Docs available [build log]
Last success reported on 2017-06-12 [all 1 reports]