HORIZON HASKELLDocslts/ghc-9.14.x45dd5372026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 45dd537 · 2026-10-11

Package0.4.3Data

OneTuple

Singleton Tuple

  • Version0.4.3
  • CategoryData
  • LicenceBSD-3-Clause
  • AuthorJohn Dorsey <haskell@colquitt.org>
  • MaintainerOleg Grenrus <oleg.grenrus@iki.fi>, John Dorsey <haskell@colquitt.org>
  • Pinned byhackage OneTuple 0.4.3
  • Sourcehackage.haskell.org/package/OneTuple-0.4.3

Modules

3 modules
  • Data.Tuple.OneTuple3This is a module to help migration from OneTuple to Solo.
  • Data.Tuple.Solo3Solo fills the tuple gap with a singleton tuple. Solo does not support the usual parenthesized tuple syntax. Solo has the expected lazine…
  • Data.Tuple.Solo.TH1This module provides TH helpers,

Description

This package is a compatibility package for a singleton data type

data Solo a = MkSolo a

Note: it's not a newtype

Solo is available in base-4.16 (GHC-9.2).

Depends on

2 packages

Used by in this set · 3