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- base-4.20.2.0with GHC
- ghc-prim-0.12.0with GHC
- template-haskell-2.22.0.0with GHC