HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Package0.4.2Data

OneTuple

Singleton Tuple

  • Version0.4.2
  • 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.2
  • Sourcehackage.haskell.org/package/OneTuple-0.4.2

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

3 packages

Used by in this set · 4