relational-query-0.9.5.1: Typeful, Modular, Relational, algebraic query engine

Copyright2017 Kei Hibino
LicenseBSD3
Maintainerex8k.hibino@gmail.com
Stabilityexperimental
Portabilityunknown
Safe HaskellNone
LanguageHaskell2010

Database.Relational.Query.BaseTH

Description

This module defines templates for internally using.

Synopsis

Documentation

defineProductConstructorInstance :: TypeQ -> ExpQ -> [TypeQ] -> Q [Dec] Source #

Make template for ProductConstructor instance.

defineTupleProductConstructor :: Int -> Q [Dec] Source #

Make template of ProductConstructor instance of tuple type.

defineTupleShowConstantInstance :: Int -> Q [Dec] Source #

Make template of ShowConstantTermsSQL instance of tuple type.

defineTuplePi :: Int -> Q [Dec] Source #

Make templates of projection paths for tuple types.