Package0.1Data
Only
The 1-tuple type or single-value "collection"
- Version0.1
- CategoryData
- LicenceBSD-3-Clause
- AuthorHerbert Valerio Riedel
- Maintainerhvr@gnu.org
- Pinned byhackage Only 0.1
- Sourcehackage.haskell.org/package/Only-0.1
Modules
1 moduleDescription
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.
Depends on
2 packages- base-4.20.2.0with GHC
- deepseq-1.5.0.0with GHC