OneTuple

Singleton Tuple

Version on this page:0.2.2
LTS Haskell 22.26:0.4.2
Stackage Nightly 2024-06-22: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.2.2@sha256:e5782a10c5d74cbb61d0786e1e96b64a035193602dc7012ebe8f4e05e769c8d6,1005

Module documentation for 0.2.2

Depends on 1 package(full list with versions):
Used by 2 packages in lts-11.22(full list with versions):

This package provides a singleton tuple data type

data OneTuple = OneTuple a

Note: it's not a newtype

Changes

0.2.2

  • Add Semigroup instances
  • Compatible with GHC-8.4