Only: The 1-tuple type or single-value "collection"

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

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.


Versions 0.1, 0.1
Change log None available
Dependencies base (>=4.5 && <5), deepseq (>=1.1 && <1.5), ghc-prim [details]
License BSD-3-Clause
Author Herbert Valerio Riedel
Category Data
Bug tracker
Source repo head: git clone
Uploaded by HerbertValerioRiedel at 2017-06-19T09:01:56Z




Maintainer's Corner

For package maintainers and hackage trustees