git.iko.soy/typeable/postgresql-simple
on master help sign in
Documentation Fix
commit2c822c8cb65f0029a81464bf57cd81b0ab9c40a1 authorLeon P Smith <leon@melding-monads.com> dateTue 26 Mar 2013, 04:50 (14 years ago) parent4897a05
1 file changed+1−1
src/Database/PostgreSQL/Simple/FromField.hs+1−1
src/Database/PostgreSQL/Simple/FromField.hs+1−1
@@ -42,7 +42,7 @@ instance FromField UUID where
4242 Nothing -> returnError UnexpectedNull f \"\"
4343 Just data ->
4444 case [ x | (x,t) <- reads data, (\"\",\"\") <- lex t ] of
45− [x] -> Ok x
45+ [x] -> return x
4646 _ -> returnError ConversionError f data
4747@
4848