hpqtypes-1.2.4: Haskell bindings to libpqtypes

Safe HaskellSafe-Inferred
LanguageHaskell98

Database.PostgreSQL.PQTypes.Single

Synopsis

Documentation

newtype Single a Source

Representation of "single element tuple", used to avoid resorting to usage of OverlappingInstances.

Constructors

Single a 

Instances

Functor Single 
Eq a => Eq (Single a) 
Ord a => Ord (Single a) 
Show a => Show (Single a) 
PQFormat t => PQFormat (Single t) 
FromSQL t => FromRow (Single t) 
ToSQL t => ToRow (Single t) 
Typeable (* -> *) Single 

unSingle :: Single a -> a Source

Extract underlying value.