HaskellDB is library for expressing database queries and operations in a type safe and declarative way. This package contains the library for use with GHC 6. . HaskellDB compiles a relational algebra-like syntax into SQL, submits the operations to the database for processing, and returns the results as ordinary Haskell values.