Copyright | 2013 Kei Hibino |
---|---|
License | BSD3 |
Maintainer | ex8k.hibino@gmail.com |
Stability | experimental |
Portability | unknown |
Safe Haskell | None |
Language | Haskell2010 |
This module defines interfaces between haskell pure values and query internal projection values.
- class ProductConstructor r where
- productConstructor :: r
- class ShowConstantTermsSQL a where
- showConstantTermsSQL :: a -> [String]
Interface to specify record constructors.
class ProductConstructor r where Source
Specify tuple like record constructors which are allowed to define ProjectableFunctor
.
productConstructor :: r Source
The constructor which has type r
.
ProductConstructor (a -> b -> (a, b)) | ProductConstructor instance of pair. |
Constant SQL Terms
class ShowConstantTermsSQL a where Source
Interface for constant SQL term list.
showConstantTermsSQL :: a -> [String] Source