-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/

-- | The 1-tuple type or single-value "collection"
--   
--   This package provides the canonical anonymous 1-tuple type missing
--   from Haskell for attaching typeclass instances.
@package Only
@version 0.1

module Data.Tuple.Only

-- | The 1-tuple type or single-value "collection".
--   
--   This type is structurally equivalent to the Identity type, but
--   its intent is more about serving as the anonymous 1-tuple type missing
--   from Haskell for attaching typeclass instances.
--   
--   Parameter usage example:
--   
--   
--   encodeSomething (Only (42::Int))
--   
--   
--   Result usage example:
--   
--   
--   xs <- decodeSomething
--   forM_ xs $ \(Only id) -> {- ... -}
--   
newtype Only a
Only :: a -> Only a
[fromOnly] :: Only a -> a
instance Data.Data.Data a => Data.Data.Data (Data.Tuple.Only.Only a)
instance GHC.Base.Functor Data.Tuple.Only.Only
instance GHC.Generics.Generic (Data.Tuple.Only.Only a)
instance GHC.Show.Show a => GHC.Show.Show (Data.Tuple.Only.Only a)
instance GHC.Read.Read a => GHC.Read.Read (Data.Tuple.Only.Only a)
instance GHC.Classes.Ord a => GHC.Classes.Ord (Data.Tuple.Only.Only a)
instance GHC.Classes.Eq a => GHC.Classes.Eq (Data.Tuple.Only.Only a)
instance Control.DeepSeq.NFData a => Control.DeepSeq.NFData (Data.Tuple.Only.Only a)
