Typesafe-sql is a project mainly written in Haskell, based on the LGPL-2.1 license.
Type-safe inline SQL using template haskell and language-sqlite