Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell98 |
Documentation
Unit | |
BaseTable String [(Symbol, PrimExpr)] | |
Product (NonEmpty PrimQuery) [PrimExpr] | |
Aggregate [(Symbol, (Maybe AggrOp, PrimExpr))] PrimQuery | |
Order [OrderExpr] PrimQuery | |
Limit LimitOp PrimQuery | |
Join JoinType PrimExpr PrimQuery PrimQuery | |
Values [Symbol] [[PrimExpr]] | |
Binary BinOp [(Symbol, (PrimExpr, PrimExpr))] (PrimQuery, PrimQuery) |
type PrimQueryFold p = (p, String -> [(Symbol, PrimExpr)] -> p, NonEmpty p -> [PrimExpr] -> p, [(Symbol, (Maybe AggrOp, PrimExpr))] -> p -> p, [OrderExpr] -> p -> p, LimitOp -> p -> p, JoinType -> PrimExpr -> p -> p -> p, [Symbol] -> [[PrimExpr]] -> p, BinOp -> [(Symbol, (PrimExpr, PrimExpr))] -> (p, p) -> p) Source
foldPrimQuery :: PrimQueryFold p -> PrimQuery -> p Source