OneTuple

Singleton Tuple

Version on this page:0.4.1.1@rev:1
LTS Haskell 22.22:0.4.2
Stackage Nightly 2024-05-18: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.4.1.1@sha256:632dfded172086fb9f0e26d3578bcfffa3fb6d135ea5a8de17b7a33ff6e6e682,2575

Module documentation for 0.4.1.1

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).

Changes

0.4.1.1

  • Support GHC-7.2 and GHC-7.0.

0.4.1

  • Mark MkSolo pattern synonym as COMPLETE

0.4

  • Rename constructor to MkSolo as in base-4.17. The compatibility pattern synonym is provided.
  • Add Foldable1 Solo instance

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