MetaHDBC
MetaHDBC is a project that will use Template Haskell and HDBC to do statically checked database access.
For a little background, see this haskell-cafe post which got the project started.
Installation notes for MetaHDBC.
After installation you can look at the examples directory in the repository to get started easily with MetaHDBC.