haskelldb-connect-hdbc-catchio-tf-0.1.0.0: Bracketed HaskellDB HDBC session using MonadCatchIO-transformers

Portabilityportable
Stabilityexperimental
Maintainerex8k.hibino@gmail.com
Safe HaskellNone

Database.HaskellDB.Connect.HDBC.CatchIO

Description

Bracketed HaskellDB session with MonadCatchIO.

Synopsis

Documentation

hdbcSessionSource

Arguments

:: (MonadCatchIO m, IConnection conn) 
=> SqlGenerator 
-> IO conn

Connect action

-> (conn -> Database -> m a)

Transaction body

-> m a 

Run an action on a HDBC IConnection and close the connection. MonadCatchIO version.