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- base-4.23.0.0with GHC
- template-haskell-2.25.0.0with GHC