HORIZON HASKELLDocslts/ghc-9.14.x7a6c33e2026-10-12Search packagesCtrl K
Theme: |

GHC 9.14.1 · lts/ghc-9.14.x · 7a6c33e · 2026-10-12

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
  • SourceOnly-0.1 on Hackage

Modules

Description

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

Used by in this set · 5