OneTuple-0.4.2: Singleton Tuple

Safe Haskell | Safe-Inferred
Language | Haskell98

Data.Tuple.OneTuple

Description

Deprecated: Use Data.Tuple.Solo

This is a module to help migration from `OneTuple` to `Solo`. Migrate to use Data.Tuple from `base-4.16` or Data.Tuple.Solo with all GHCs.

The pattern synonym is provided for GHCs supporting pattern synonyms (7.8+)

# Documentation

type OneTuple = Solo Source #

pattern OneTuple :: a -> Solo a Source #

only :: OneTuple a -> a Source #