git.iko.soy/typeable/postgresql-simple
on master help sign in
Documentation Fix
14d840cLeon P Smith
src/Database/PostgreSQL/Simple/Types.hs+1−1
@@ -103,7 +103,7 @@ newtype Only a = Only {
103--
103--
104-- Example:
104-- Example:
105--
105--
106−-- > query c "select * from whatever where id in ?" (In [3,4,5])
106+-- > query c "select * from whatever where id in ?" (Only (In [3,4,5]))
107newtype In a = In a
107newtype In a = In a
108 deriving (Eq, Ord, Read, Show, Typeable, Functor)
108 deriving (Eq, Ord, Read, Show, Typeable, Functor)
109
109