OneTuple-0.4.2: Singleton Tuple
Safe HaskellSafe-Inferred
LanguageHaskell98

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

pattern OneTuple :: a -> Solo a Source #

only :: OneTuple a -> a Source #