git.iko.soy/typeable/postgresql-simple
on master help sign in
fixed per recommendation
c5c9b4fChris Allen
src/Database/PostgreSQL/Simple.hs+1−1
@@ -699,7 +699,7 @@ fmtError msg q xs = throw FormatError {
699-- >
699-- >
700-- > hello = do
700-- > hello = do
701-- > conn <- connect defaultConnectInfo
701-- > conn <- connect defaultConnectInfo
702−-- > query_ conn "select 2 + 2" :: IO [[Int]]
702+-- > query_ conn "select 2 + 2" :: IO [Only Int]
703--
703--
704-- A 'Query' value does not represent the actual query that will be
704-- A 'Query' value does not represent the actual query that will be
705-- executed, but is a template for constructing the final query.
705-- executed, but is a template for constructing the final query.