lpsmith / postgresql-simple

Mid-level client library for accessing PostgreSQL from Haskell
Other
206 stars 71 forks source link

Missing (a, b) tuple type instance in FromField #156

Closed victoredwardocallaghan closed 9 years ago

victoredwardocallaghan commented 9 years ago

Hi,

I am just creating this as a separate issue.. Should we perhaps add the following instance?

-- | instance to handle (a, b) e.g., (Double, Double)
instance (FromField a, FromField b) => FromField (a, b) where
  fromField = fromField

Hopefully I got this correct?

Kind Regards, Edward.

lpsmith commented 9 years ago

Duplicate of #154