OneTuple-0.3.1: 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 #

pattern OneTuple :: a -> Solo a #

only :: OneTuple a -> a #