update haddock.

This commit is contained in:
Kei Hibino 2016-09-09 14:39:16 +09:00
parent 9282aca592
commit 07cc222c4d

View File

@ -82,6 +82,7 @@ withConnectionIO = withConnection bracket id
-- | Same as 'withConnectionIO' other than issuing commit at the end of transaction body. -- | Same as 'withConnectionIO' other than issuing commit at the end of transaction body.
-- In other words, the transaction with no exception is committed. -- In other words, the transaction with no exception is committed.
-- Handy defintion for simple transactions.
withConnectionCommit :: IConnection conn withConnectionCommit :: IConnection conn
=> IO conn -- ^ Connect action => IO conn -- ^ Connect action
-> (conn -> IO a) -- ^ Transaction body -> (conn -> IO a) -- ^ Transaction body