git.iko.soy/typeable/postgresql-simple
on master help sign in
fixed per recommendation
commitc5c9b4f2c7b34c42a296d2c113d68e24a825248d authorChris Allen <cma@bitemyapp.com> dateTue 27 May 2014, 16:09 (12 years ago) parent364a1b5
1 file changed+1−1
src/Database/PostgreSQL/Simple.hs+1−1
src/Database/PostgreSQL/Simple.hs+1−1
@@ -699,7 +699,7 @@ fmtError msg q xs = throw FormatError {
699699-- >
700700-- > hello = do
701701-- > conn <- connect defaultConnectInfo
702−-- > query_ conn "select 2 + 2" :: IO [[Int]]
702+-- > query_ conn "select 2 + 2" :: IO [Only Int]
703703--
704704-- A 'Query' value does not represent the actual query that will be
705705-- executed, but is a template for constructing the final query.