sweeping aside a documentation stumbling block for new people
commit364a1b5c32c4ad490d1e4978491a3abfc5028991
authorChris Allen <cma@bitemyapp.com>
dateSun 25 May 2014, 20:09 (12 years ago)
parent14ef303
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"
702+-- > query_ conn "select 2 + 2" :: IO [[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.