{-# LANGUAGE CPP #-}
#if __GLASGOW_HASKELL__ >= 708
{-# LANGUAGE PatternSynonyms #-}
#endif
module Data.Tuple.OneTuple
{-# DEPRECATED "Use Data.Tuple.Solo" #-}
(
OneTuple,
#if __GLASGOW_HASKELL__ >= 708
pattern OneTuple,
#endif
only,
) where
import Data.Tuple.Solo
type OneTuple = Solo
only :: OneTuple a -> a
only :: forall a. OneTuple a -> a
only = Solo a -> a
forall a. OneTuple a -> a
getSolo
#if __GLASGOW_HASKELL__ >= 708
#if __GLASGOW_HASKELL__ >= 710
pattern OneTuple :: a -> Solo a
#endif
pattern $mOneTuple :: forall {r} {a}. Solo a -> (a -> r) -> ((# #) -> r) -> r
$bOneTuple :: forall a. a -> Solo a
OneTuple a = MkSolo a
#endif
#if __GLASGOW_HASKELL__ >= 800
{-# COMPLETE OneTuple #-}
#endif