@hackage Only0.1
The 1-tuple type or single-value "collection"
Categories
License
BSD-3-Clause
Maintainer
hvr@gnu.org
Links
Versions
- 0.1 Sun, 6 Aug 2023
Installation
Dependencies (3)
Dependents (16)
@hackage/sv, @hackage/Cassava, @hackage/list-tuple, @hackage/hpgsql-simple-compat, @hackage/ribbit, @hackage/relational-query-postgresql-pure, Show all…
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.