Preql.FromSql.TH
Description
Construct FromSql instances
deriveFromSqlTuple :: Int -> Q [Dec] Source #
deriveFromSql :: Name -> Q [Dec] Source #
tyVarName :: TyVarBndr -> Name Source #
fromSqlDecl :: Type -> Name -> [Type] -> Dec Source #
hasTyVar :: Type -> Bool Source #