OneTuple

Singleton Tuple

Version on this page:0.3.1@rev:3
LTS Haskell 22.36:0.4.2
Stackage Nightly 2024-10-05:0.4.2
Latest on Hackage:0.4.2

See all snapshots OneTuple appears in

BSD-3-Clause licensed by John Dorsey
Maintained by Oleg Grenrus, John Dorsey
This version can be pinned in stack with:OneTuple-0.3.1@sha256:fc32cb744477befa450a538ea4975cc523f0a2f1585cb5a36e9936a3d18e9a3c,2276

Module documentation for 0.3.1

This package is a compatibility package for a singleton data type

data Solo a = Solo a

Note: it's not a newtype

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

Changes

0.3.1

  • Add Data.Tuple.Solo.TH with tupE using Solo from this package
  • Add Hashable and Hashable1 instances
  • Drop GHC-7.0 and GHC-7.2 support

0.3

  • Rename OneTuple to Solo
  • Add Typeable, Data, MonadZip, Eq1, Ord1, Show1, Read1, Generic and Generic1 instances

0.2.2.1

  • Compatible with GHC-8.6

0.2.2

  • Add Semigroup instances
  • Compatible with GHC-8.4