[s*      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~                                  ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I JKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrst u v w x y z { |!}!~!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!""""""""""""""""""""""""""""(2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone9;*Constraint which represents scalar degree. instance templates.#2014 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownSafe!String wrap type for SQL strings. from . to .Row String of SQL values.Place holder row String of SQL.List String of SQL.List String of SQL.2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone9;%Interface for constant SQL term list.CSpecify tuple like record constructors which are allowed to define ProjectableFunctor. The constructor which has type r.!Constant integral SQL expression.Escape $ for constant SQL string expression.From % into constant SQL string expression. String interface of . $Constant SQL terms of '(a, b)' type. Constant SQL terms of # type. Width inference is required. Constant SQL terms of T. This generates ***NOT STANDARD*** SQL of TIMESTAMPTZ literal with UTC timezone.Constant SQL terms of B. This generates ***NOT STANDARD*** SQL of TIMESTAMPTZ literal.Constant SQL terms of .Constant SQL terms of .Constant SQL terms of .Constant SQL terms of (. Caution for floating-point error rate.Constant SQL terms of (. Caution for floating-point error rate.Constant SQL terms of .Constant SQL terms of .Constant SQL terms of .Constant SQL terms of .Constant SQL terms of .Constant SQL terms of .Constant SQL terms of .Constant SQL terms of U. Use this carefully, because this is architecture dependent size of integer type.Constant SQL terms of .Constant SQL terms of .Constant SQL terms of .Constant SQL terms of . $ProductConstructor instance of pair.#       !    2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone:AT!Projection path from type r0 into type r16. This type also indicate key object which type is r1 for record type r0.'Projection path primary structure type."&Unsafely untype key to expand indexes.MUnsafely cast width proof object of record. Result record must be same width.#Projectable fmap of ! type.$Projectable ap of ! type.Get record width proof object.%Get record width.&Compose projection path.'Compose projection path.  phantom functor is -ed.(Compose projection path.  phantom functors are join -ed like >=>.)$Unsafely project untyped value list.*Unsafely define projection path from type r0 into type r1.**Unsafely define projection path from type r0 into type r1. Use inferred .+*Unsafely define projection path from type r0 into type r1.,*Unsafely define projection path from type r0 into type r1. Use inferred .!"#$%&'()Index of flat SQL value listResult projection path*Index of flat SQL value listResult projection path+Indexes of flat SQL value listResult projection path,Indexes of flat SQL value listResult projection path !"#$%&'()*+, !#$%&'()*+,"!"#$%&'()*+,&8'8(82013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone-Identity projection path..!Projection path for fst of tuple./!Projection path for snd of tuple.-.Projection path of fst./Projection path of snd. !#$&'(-./ !#$&'(-./-./2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownSafe0#Type tag for aggregatings power set1'Type tag for aggregatings GROUPING SETS2$Type tag for normal aggregatings set3%Type tag for window function building4Type tag for exists predicate5Type tag for aggregated query6(Type tag for flat (not-aggregated) query01234560123456654321001234562013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone9:;<= 7 Constraint 9 inference interface.8Infer constraint key.9-Constraint Key proof object. Constraint type c, record type r and columns type ct.:,Index of key which specifies constraint key. Width of key.;Unsafely generate constraint 9( proof object using specified key index.<Get table constraint  proof object from constraint 9.=1Get projection path proof object from constraint 9.6Unsafe. Make constraint key to add column phantom type*Map from table constraint into constraint 9.>Derive  constraint 9 from  constraint 9?Infered  constraint 9. Record type r has unique key which type is ct derived from primay key. 789:;-Key indexes which specify this constraint key"Result constraint key proof object<=>? 789:;<=>? 9:;<=>78? 789:;<=>?2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone9;-@Assignment pair list.AAssignment pairBValue SQL StringCColumn SQL StringDType for order-by termsEType for order-by termFType for order-by columnG)Order direction. Ascendant or Descendant.JTypeful aggregate element.KType for group-by treeLType for grouping setMType for group key.NType for group-by termO#Result record duplication attributeR2Configuration for quotation of identifiers of SQL.U$Unit of product is supported or not.XConfiguration type.`'Schema name qualify mode in SQL string.a)Schema qualified table name in SQL stringb&Not qualified table name in SQL stringcc/ type to customize names of expanded templates.gColumn SQL string type Simple wrap typehg from stringig from  String from ColumnSQLjStringSQL from ColumnSQLkDefault configuration.l%Compose duplication attribute string.m Single term aggregation element.nKey of aggregation power set.oSingle grouping set.pRollup aggregation element.qCube aggregation element.rGrouping sets aggregation.sEmpty aggregation.t0Compose GROUP BY clause from AggregateElem list.u9Compose PARTITION BY clause from AggregateColumnRef list.vExtract typed projection from J.wExtract untyped term from J.x5Unsafely bind typed-projection and untyped-term into J.y*Compose ORDER BY clause from OrderingTermszCompose SET clause from @.{Compose VALUES clause from @.|Compose OVER (PARTITION BY ... ) clause.O@ABCDEFGHIJ K  LMNOPQRSTUVWXYZ[\]^_`abcdefg hi jklmnopqrstuvwxyz{|}~=@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|=ghijcdef`abXYZ[\]^_kUVWOPQRSTlNMLKmsnopqrtuJvwxGHIFEDyCBA@z{|2@ABCDEFGHIJ K  LMNOPQRSTUVWXYZ[\]^_`abcdefg hi jklmnopqrstuvwxyz{|}~2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNoneI. type to require query generate configuration.Run  to expand with configurationLift to .Read configuration. 2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNoneInference rule of  existence.Phantom typed table typeUntyped typed table typeName string of table in SQLWidth of tableColumn name strings in SQLColumn name strings in SQL,Column name string in SQL specified by index Untype table.Name string of table in SQL)Not qualified name string of table in SQLWidth of tableColumn name strings in SQL,Column name string in SQL specified by indexCast phantom type into  type.+Unsafely generate phantom typed table type. Column indexColumn name String in SQL Column indexColumn name String in SQL$2015-2016 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone2Type for restriction of query.=Phantom typed projection. Projected into Haskell record type t.Discard projection value type Type for join product of query.*Product noe with join restriction builder.+Product tree with join restriction builder.#Product tree with join restriction. .Product node. node attribute and product tree.!KProduct tree type. Product tree is constructed by left node and right node.node attribute for product.'Untyped projection. Forgot record type.Projection structure unitQualified query.Qualifier type.Sub-query type"Set binary operators# Set operators$Unsafely type projection value.%& instance of (' (!)*+,-./0123456"7#89:$%$ (!)*.-1/023645"7#89:$' (!)*+,-./0123456"7#89:$%%2013-2016 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone;&Push new tree into product right term.<+Push new leaf node into product right term.=1Add restriction into top product of product tree.>6Add restriction into top product of product tree node.; Current treeNew tree to push into right Result node< Current treeNew leaf to push into right Result node=Product to restrictRestriction to addResult product>)Target node which has product to restrictRestriction to add Result node<>;<=> 2013-2016 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone* from .Unsafely generate flat  from untyped components.Unsafely generate aggregated  from untyped components.Union binary operator on Except binary operator on Intersect binary operator on  Width of .?SQL to query table.@*Generate normalized column SQL from table.ANormalized column SQLB-SQL string for nested-query and toplevel-SQL.SQL string for nested-qeury.SQL StringSQL for toplevel-SQL.SQL string for toplevel-SQL. Get qualifier Unqualify. Add qualifierCAlias string from qualifierDBinary operator to qualify.E9Qualified expression from qualifier and projection index.FFrom  SQL string into . Width of  SubQUery.Get column SQL string of .G1Get qualified SQL string, like (SELECT ...) AS T0%Make untyped projection from columns..Make untyped projection from scalar sub-query..Make untyped projection from joined sub-query.HProjectionUnit width.IGet column of ProjectionUnit. Width of .JGet column SQL string of .)Get column SQL string list of projection.)Get column SQL string list of projection.Unsafely get SQL term from  Proejction.Unsafely generate  from SQL string list.KGet node attribute.Get tree from node.L6Show product tree of query into SQL. StringSQL result.MShows join product of query.NCompose SQL String from .Compose WHERE clause from .Compose HAVING clause from .4OPTyped  metadataResult Q?@ARBsub-query SQL and top-level SQLSTUCDEFGVWXHIJSource  Column indexResult SQL stringSource Result SQL string listSource Result SQL string list!SQL string list specifies columnsResult KLMN%%4OPQ?@ARBSTUCDEFGVWXHIJKLMN&2013-2016 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNoneYJoinContext type for QueryJoin.ZInitial Y.[Update product of Y.\6Finalize context to extract accumulated query product.Y]^Z[\YZ[\Y]^Z[\'2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNoneI_&Monad type to qualify SQL table forms.`8Run qualify monad with initial state to get only result.a*Generated new qualifier on internal state.bLift to _cGet qualifyed table form query._de`abcQuery to qualifyResult with updated state_`bc_de`abc 2015 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone *Relation type with place-holder parameter p and query result type r.&Thin monad type for untyped structure.Run - monad with initial state to get only result.Get qualifyed table form query.Read configuration.AUnsafely type qualified subquery into record typed relation type.&Sub-query Qualify monad from relation.9Simplify placeholder type applying left identity element.:Simplify placeholder type applying right identity element.Generate SQL string from  with configuration.SQL string from .Dump internal structure tree.fg fg 2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone:Projection type for row list.Unsafely get SQL term from  Proejction.)Get column SQL string list of projection. Width of . Unsafely get untyped projection.Unsafely generate # from qualified (joined) sub-query.Unsafely generate  from scalar sub-query.Unsafely generate unqualified  from .Unsafely generate  from SQL expression strings.hUnsafely trace projection path.&Trace projection path to get narrower .&Trace projection path to get narrower . From  type to  type.&Trace projection path to get narrower . From  type to * type. Leaf type of projection path is .Composite nested  on projection phantom type. Cast into  on projection phantom type.Unsafely cast context type tag.$Unsafely lift to aggregated context.Unsafely down to flat context.>Unsafely get SQL string expression of not null key projection.Projectable fmap of  type.Projectable ap of  type.Make row list projection from  list.Make row list projection from .IMap projection show operatoions and concatinate to single SQL expression.ijSource Result SQL string listhSource Projection path Narrower Source .  typeProjection path Narrower .  type resultSource .  typeProjection path.  type leaf Narrower .  type resultklijhkl 2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone9:;_*Weaken applicative functor on projections. Method like m.Weaken functor on projections. Method like n.)Zipping except for identity element laws.Interface to control  of phantom type in projections."Cast projection phantom type into .Compose nested  phantom type on projection.BPlaceholder parameter type which has real parameter type arguemnt p.$Binary operator type for SQL String.+Interface to get SQL term from projections.=Unsafely generate SQL expression term from projection object.(Interface to project SQL terms unsafely.+Unsafely project from SQL expression terms.7Unsafely project from SQL strings. String interface of .!Unsafely Project single SQL term.8Unsafely Project single SQL string. String interface of .)Polymorphic projection of SQL null value.JGenerate polymorphic projection of SQL constant values from Haskell value.)Polymorphic proejction of SQL true value.*Polymorphic proejction of SQL false value.:Polymorphic proejction of SQL set value from Haskell list.WUnsafely generate SQL expression string from projection object. String interface of .9Unsafely make projection unary operator from SQL keyword.EUnsafely make projection binary operator from string binary operator.oMUnsafely make compare projection binary operator from string binary operator.pNUnsafely make numrical projection binary operator from string binary operator.#Compare operator corresponding SQL = .#Compare operator corresponding SQL < .#Compare operator corresponding SQL <= . #Compare operator corresponding SQL > . #Compare operator corresponding SQL >= . #Compare operator corresponding SQL <> . #Logical operator corresponding SQL AND . #Logical operator corresponding SQL OR .#Logical operator corresponding SQL NOT .#Logical operator corresponding SQL EXISTS .'Concatinate operator corresponding SQL || .'Concatinate operator corresponding SQL || . Maybe type version.*String-compare operator corresponding SQL LIKE .*String-compare operator corresponding SQL LIKE .*String-compare operator corresponding SQL LIKE .*String-compare operator corresponding SQL LIKE . Maybe type version.qIUnsafely make number projection binary operator from SQL operator string."Number operator corresponding SQL + ."Number operator corresponding SQL - .'Number operator corresponding SQL /// ."Number operator corresponding SQL * .-Number negate uni-operator corresponding SQL -.!Number fromIntegral uni-operator.:Unsafely show number into string-like type in projections."Number operator corresponding SQL + ."Number operator corresponding SQL - .'Number operator corresponding SQL /// . "Number operator corresponding SQL * .!-Number negate uni-operator corresponding SQL -."!Number fromIntegral uni-operator.#:Unsafely show number into string-like type in projections.$.Search case operator correnponding SQL search CASE . Like, 1CASE WHEN p0 THEN a WHEN p1 THEN b ... ELSE c END%Same as $, but you can write like  whenlist %  elseclause.&Null default version of $.'.Simple case operator correnponding SQL simple CASE . Like, 1CASE x WHEN v THEN a WHEN w THEN b ... ELSE c END(Uncurry version of ', and you can write like ... (  elseclause.)Null default version of '.*"Binary operator corresponding SQL IN .+Operator corresponding SQL IS NULL% , and extended against record types.,Operator corresponding SQL NOT (... IS NULL)$ , and extended against record type.-/Operator from maybe type using record extended isNull..RANK() term./ DENSE_RANK() term.0 ROW_NUMBER() term.1PERCENT_RANK() term.2 CUME_DIST() term.3.Unsafely add placeholder parameter to queries.4"Unsafely get placeholder parameter5No placeholder semanticsr)Unsafely cast placeholder parameter type.6;Provide scoped placeholder and return its parameter object.7LProvide scoped placeholder and return its parameter object. Monadic version.8Zipping projections.9Binary operator the same as 8.:Same as . other than using inferred record constructor.;Compose projection path !6 which has record result type using applicative style.< Compose seed of projection path ! which has record result type.=Compose record type  using applicative style.>Compose seed of record type .?Compose record type  using applicative style.@Compose seed of record type .ALZipping except for identity element laws against placeholder parameter type.BControl phantom  type in projection type .CControl phantom  type in placeholder parameters.DUnsafely get SQL term from  Proejction.GUnsafely make  from SQL terms.HUnsafely make  from SQL terms.IUnsafely make  from SQL terms.lstSQL expression stringsResult projection objectSource projection objectResult SQL expression string.uop     vqw !"#x Error tagEach when clausesElse result projectionResult projection$Each when clausesElse result projectionResult projection%Each when clausesElse result projectionResult projection&Each when clausesResult projection'Projection value to matchEach when clausesElse result projectionResult projection(4Projection value to match and each when clauses listElse result projectionResult projection)Projection value to matchEach when clausesResult projection*+,-y./012345rz{6789:;<=>?@ABCDEFGHIP      !"#$%&'()*+,-./0123456789:P34675     * +,-!"#%($&')./01289:cstuop     vqw !"#x$%&'()*+,-y./012345rz{6789:;<=>?@ABCDEFGHI44444 4 4 4 3 25544446677667 7*4912013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone9:;<=J(Window specification building interface.KAdd  PARTITION BY term into context.L,Aggregated query building interface extends Q.MAdd GROUP BY1 term into context and get aggregated projection.O'Lift interface from base qualify monad.PLift from qualify monad q into Q* m. Qualify monad qualifies table form SubQuery.QQuery building interface.RSpecify duplication.SAdd restriction to last join.T+Join sub-query with place-holder parameter p. query result is not .U+Join sub-query with place-holder parameter p. Query result is .VRestrict context interfaceW Add restriction to this context.X'Specify ALL attribute to query context.Y,Specify DISTINCT attribute to query context.Z6Add restriction to last join. Projection type version.[-Add restriction to this not aggregated query.\MAdd restriction to this aggregated query. Aggregated Projection type version.JKLMNOPQRSTUVWXYZ[\]JKLMNOPQTURSVWXYZ[\OPVWQRSTULMNJKXYZ[\ JKLMNOPQRSTUVWXYZ[\]2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone9;<=I^/Context monad type to build partition keys set._.Context monad type to build grouping set list.`/Context monad type to build grouping power set.a0Context monad type to build single grouping set.b)Context type building partition keys set.c&Context type building power group set.d)Context type building grouping sets list.e'Context type building one grouping set.f0Type to accumulate aggregating context. Type ac is aggregating-context type like aggregating key set building, aggregating key sets set building and partition key set building. Type at is aggregating term type.gLift to f.hRun f to get terms list.i3Specify key of single grouping set from Projection.j#Specify key of single grouping set.k)Finalize and specify single grouping set.l)Specify key of rollup and cube power set.m0Finalize grouping power set as rollup power set.n.Finalize grouping power set as cube power set.oFinalize grouping set list.pPartition clause instanceqAggregated query instance.r Aggregated Q.s Aggregated O.t Aggregated V.^_`abcdef|g}~hijklmnopqrst^_`abcdefghijklmnofgedcbha`_^ijklmno^_`abcdef|g}~hijklmnopqrst2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone9;<=IyTarget of assignment.z.Type to accumulate assigning context. Type r is table record type.{Lift to z|Add an assignment.}Add and assginment.~Run z to get @O with assigning.V with assigning. yz{|}~yz{|}~z{|}y~ yz{|}~}42015 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone6Target register monad type used from insert statement.Run InsertStatement.2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone9:;<=I(Ordering term projection type interface.-Type to accumulate ordering context. Type c* is ordering term projection context type.Lift to .Add ordering terms.Add ordering terms.Add ascendant ordering term.Add descendant ordering term.Run  to get D is ordering term.J with ordering.L with ordering.Q with ordering.O with ordering.V with ordering.Order directionOrdering terms to addResult context with orderingOrdering terms to addOrder directionResult context with orderingOrdering terms to addResult context with orderingOrdering terms to addResult context with orderingDD2014-2016 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone9;<=I/Type to accumulate query restrictions. Type cT is context tag of restriction building like Flat (where) or Aggregated (having).Lift to Add whole query restriction.Run  to get  Resticted L instance. Restricted Q instance. Restricted O instance.V instance. 2013-2016 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone9;<=<RestrictedStatement type synonym. Projection record type r must be the same as  type parameter r.IRestrict only monad type used from update statement and delete statement.Run  to get .2013-2016 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone9;<=AssignStatement type synonym. Specifying assignments and restrictions like update statement. Projection record type must be the same as Target type parameter r.HTarget update monad type used from update statement and merge statement.Run .2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone.InsertTarget type with place-holder parameter p and projection record type r..UpdateTarget type with place-holder parameter p and projection record type r.-Restriction type with place-holder parameter p and projection record type r. Finalize Restrict monad and generate . Finalize Restrict monad and generate  with place-holder parameter pSQL WHERE clause  string from . Finalize Target monad and generate . Finalize Target monad and generate  with place-holder parameter p.Lift  to  . Update target columns are all.Lift  to 7. Update target columns are all. With placefolder type p. Finalize Restrict monad and generate  . Update target columns are all. Finalize Restrict monad and generate 7. Update target columns are all. With placefolder type p. SQL SET clause and WHERE clause  string from  Finalize  monad and generate . Finalize Target monad and generate  with place-holder parameter p.SQL INSERT statement  string from Show where clause.2013-2016 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone9:;<=I) type to accumulate join product context.Lift to %Unsafely update join product context."Add last join product restriction.(Unsafely join sub-query with this query.#Basic monadic join operation using Q.Run  to get Joinable query instance. Attribute maybe or just to joinResult joined context and  result projection. 2013-2016 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone.OrderedQuery monad type with placeholder type p!. Projection must be the same as  context type parameter c.PCore query monad type used from flat(not-aggregated) query and aggregated query.Extract  computation.2013-2016 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone9:;<=-Partition monad type for partition-by clause.Aggregated query type.  p r ==  ( p,  5 r).Aggregated query monad type.Run  to get SQL with  computation.Run  to get  with  computation.?Operator to make window function result projection using built  monad. Restricted V instance.  to runResult SQL string with  computation to runResult  with  computation 82013-2016 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone9;<=$Simple (not-aggregated) query type.  SimpleQuery' p r ==  ( p,  r).)Simple (not-aggregated) query monad type.%Lift from qualified table forms into .Run  to get SQL string with Qualify computation.Run  to get  with Qualify computation. to runResult SQL string with Qualify computation SimpleQuery' to runResult  with Qualify computation2014-2016 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone9;<=IUnique query monad type./Unsafely join sub-query with this unique query.Run  SimpleQuery to get  with Qualify computation.Attribute maybe or just to joinResult joined context and  result projection. to runResult  with Qualify computation2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone9:;<=3Interface to run recursively identity element laws.Interface to compose phantom  nested type.8Unsafely make aggregation uni-operator from SQL keyword.Aggregation function COUNT.Aggregation function SUM.Aggregation function SUM.Aggregation function AVG.Aggregation function AVG.Aggregation function MAX.Aggregation function MAX.Aggregation function MIN.Aggregation function MIN.Aggregation function EVERY.Aggregation function ANY.Aggregation function SOME.3Get narrower projection along with projection path.6Get narrower projection along with projection path  phantom functor is -ed.pGet narrower projection along with projection path and project into result projection type. Source record * phantom functor and projection path leaf  functor are join-ed.YGet narrower projection with flatten leaf phantom Maybe types along with projection path.YGet narrower projection with flatten leaf phantom Maybe types along with projection path. Specialize  for  type.>Base case definition to run recursively identity element laws.Run right identity element law.Run left identity element law.Not  type is not processed.Compose ! type in projection phantom type.Source projectionProjection pathNarrower projected objectSource .  typeProjection pathNarrower projected object.  type resultSource .  phantom typeProjection path.  type leafNarrower projected object.  phantom type resultSource .  phantom typeProjection path Narrower  . Flatten  phantom typeSource .  phantom typeProjection path&Narrower flatten and projected object.88882013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone Type for query suffix wordsExpand query suffix words%Generate prefix string of update SQL.`Generate update SQL by specified key and table. Columns name list of table are also required.`Generate update SQL by specified key and table. Columns name list of table are also required.,Generate update SQL specified by single key.%Generate prefix string of insert SQL."Generate records chunk insert SQL.0Generate size measured records chunk insert SQL.Generate insert SQL.IGenerate all column delete SQL by specified table. Untyped table version.2Generate all column delete SQL by specified table.  Table nameColumn name list to updateKey column name list Result SQL Table nameColumn name listKey column indexes Result SQLTable metadata Key columns Result SQLRecords count to insertColumns selector to insertTable metadata Result SQLColumns selector to insertTable metadata#Chunk size threshold (column count)%Result SQL and records count of chunkColumns selector to insertTable metadata Result SQLTable metadata Result SQL   2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone:-/Unique relation type to compose scalar queries.9Restriction function type for direct style join operator.Simple  from .Infered .Interface to derive  type object. $Join sub-query. Query result is not .  Join sub-query. Query result is . The combinations of   and   express inner joins, left outer joins, right outer joins, and full outer joins. Here is an example of a right outer join:  outerJoin = relation $ do e <- queryMaybe employee d <- query department on $ e ?! E.deptId' .=. just (d ! D.deptId') return $ (,) |$| e |*| d  List sub-query, for IN and EXIST with place-holder parameter p. List sub-query, for IN and EXIST.  Finalize  monad and generate  with place-holder parameter p. Finalize  monad and generate . Finalize  monad and geneate  with place-holder parameter p. Finalize  monad and geneate .9Basic direct join operation with place-holder parameters./Direct inner join with place-holder parameters.4Direct left outer join with place-holder parameters.5Direct right outer join with place-holder parameters.4Direct full outer join with place-holder parameters.Basic direct join operation.Direct inner join.Direct left outer join.Direct right outer join.Direct full outer join.(Apply restriction for direct join style.Union of two relations.%Union of two relations. Not distinct.Subtraction of two relations.+Subtraction of two relations. Not distinct.Intersection of two relations.,Intersection of two relations. Not distinct. 4Union of two relations with place-holder parameters.!BUnion of two relations with place-holder parameters. Not distinct.":Subtraction of two relations with place-holder parameters.#HSubtraction of two relations with place-holder parameters. Not distinct.$;Intersection of two relations with place-holder parameters.%IIntersection of two relations with place-holder parameters. Not distinct.&!Unsafely specify unique relation.'Discard unique attribute.#Basic monadic join operation using Q.(2Join unique sub-query with place-holder parameter p.)2Join unique sub-query with place-holder parameter p. Query result is .* Finalize  monad and generate .+ Aggregated .,-Scalar sub-query with place-holder parameter p.-Scalar sub-query.4     Left query to joinRight query to joinJoin restrictionsResult joined relationLeft query to joinRight query to joinJoin restrictionsResult joined relationLeft query to joinRight query to joinJoin restrictionsResult joined relationLeft query to joinRight query to joinJoin restrictionsResult joined relationLeft query to joinRight query to joinJoin restrictionsResult joined relationLeft query to joinRight query to joinJoin restrictionsResult joined relationLeft query to joinRight query to joinJoin restrictionsResult joined relationLeft query to joinRight query to joinJoin restrictionsResult joined relation !"#$%&'()*+,-*      !"#$%&'()*+,-* &'*+    -,() "$!#%3      !"#$%&'()*+,-888888888777788 7!7"7#7$8%82013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone3.zUntype interface for typed no-result type statments with single type parameter which represents place-holder parameter p.0(Delete type with place-holder parameter p.3InsertQuery type.6"Insert type to insert record type a.:(Update type with place-holder parameter p.=Update type with key type p and update record type a. Columns to update are record columns other than key columns, So place-holder parameter type is the same as record type a.A'Query type with place-holder parameter p and query result type a.DUnsafely make typed A from SQL string.EFrom  into untyped SQL query string.FFrom  into typed A with suffix SQL words.GFrom  into typed A.HUnsafely make typed = from SQL string.I Make typed = from  and key columns selector !.J Make typed =( object using derived info specified by  type.KUnsafely make typed : from SQL string.L$Make untyped update SQL string from  and .M Make typed : from X,  and .N Make typed : using k,  and .O Make typed : from X, derived table and P Make typed : from k, derived table and Q Make typed : from  and !. Update target is all column.RDirectly make typed : from  and Restrict/ monad context. Update target is all column.SDirectly make typed : from  and Restrict/ monad context. Update target is all column.TStatement to use chunked insertUSize to use chunked insertVUnsafely make typed 6+ from single insert and chunked insert SQL.WUnsafely make typed 6 from single insert SQL.X Make typed 6 from  and columns selector ! with configuration parameter.Y Make typed 6 from  and columns selector !.ZTable type inferred 6.[ Make typed 6 from X,  and monadic builded  object.\ Make typed 6 from  and monadic builded  object.] Make typed 6 from X$, derived table and monadic builded  object.^ Make typed 6 from k$, derived table and monadic builded  object._Unsafely make typed 3 from SQL string.`+Make untyped insert select SQL string from , ! and .a Make typed 3 from columns selector , ! and  with configuration parameter.b Make typed 3 from columns selector , ! and .cTable type inferred 3.dUnsafely make typed 0 from SQL string.e$Make untyped delete SQL string from  and .f Make typed 0 from X,  and .g Make typed 0 from  and .h Make typed 0 from X, derived table and RestrictContexti Make typed 0 from k, derived table and RestrictContextnShow delete SQL stringoShow insert SQL string.pShow insert SQL string.qShow update SQL stringrShow update SQL stringsShow query SQL stringH./0123456789:;<=>?@ABCDQuery SQL to type Typed resultEFGHIJKLMNOPQRRestrict monad contextSTUVWXYZ[\]^_`abcdefghijklmnopqrs<./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghi<ABCDFGE=>?@HIJ:;<KMNOPQRSL6789TUVWXYZ[\]^345_abc`012dfghie./9./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrs 2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone:t$Query restricted with specified key.u+Query restricted with specified unique key.v,Query restricted with specified primary key.w+Query restricted with inferred primary key.xConvert from Haskell type r into SQL value q" list expected by update form likeUPDATE  tableN SET c0 = ?, c1 = ?, ..., cn = ? WHERE key0 = ? AND key1 = ? AND key2 = ? ... using derived  RecordToSql proof object.yTyped = using specified constraint key.zTyped = using inferred primary key.{ inferred from table.t-Unique key proof object which record type is a and key type is p. to add restriction.Result restricted u-Unique key proof object which record type is a and key type is p. to add restriction.Result restricted v.Primary key proof object which record type is a and key type is p. to add restriction.Result restricted w to add restriction.Result restricted xy to updateKey with constraint c, record type r and columns type p Result typed Updatez to update Result typed Update{-Unique key proof object which record type is a and key type is p.Unique key value to specify.Result restricted tuvwxyz{tuvwyzx{tuvwxyz{(2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNoneW !#$&'(-./0123456789<=>?GHIRSTUVWXYZ[\]^_`abcdefk      !"#$%&'()*+,-./0123456789:JKLMNOQTUVWXYZ[\ijklmno|}      !"#$%&'()*+,-./0123456789:;<=>?@ABCEFGIJLMNOPQRSTUVXYZ[\]^`abcefghituvwxyz{!2015 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone:I:|Arrow type corresponding to )*}Arrow type corresponding to )+~Arrow type corresponding to zArrow type corresponding to Arrow type corresponding to Arrow type corresponding to `Arrow type corresponding to _Arrow type corresponding to aArrow type corresponding to Arrow type corresponding to Arrow type corresponding to Arrow to build queries.Same as X. Arrow version.Same as Y. Arrow version.Same as  J. Arrow version. The result arrow is not injected by local projections.Same as  N. Arrow version. The result arrow is not injected by any local projections.Same as TN. Arrow version. The result arrow is not injected by any local projections.Same as UN. Arrow version. The result arrow is not injected by any local projections.Same as  U. Arrow version. The result arrow is designed to be injected by local projections.Same as  U. Arrow version. The result arrow is designed to be injected by local projections.Same as   to pass this result to ^ operator. Arrow version. The result arrow is designed to be injected by local projections.Same as   to pass this result to ^ operator. Arrow version. The result arrow is designed to be injected by local projections.Same as  G. Arrow version. Useful for no reference cases to local projections.Same as  G. Arrow version. Useful for no reference cases to local projections.Same as -X. Arrow version. The result arrow is designed to be injected by any local projection.Same as ,X. Arrow version. The result arrow is designed to be injected by any local projection.Same as -G. Arrow version. Useful for no reference cases to local projections.Same as ,G. Arrow version. Useful for no reference cases to local projections.Same as (J. Arrow version. The result arrow is not injected by local projections.Same as )J. Arrow version. The result arrow is not injected by local projections.Same as Zf. Arrow version. The result arrow is designed to be injected by local conditional flat-projections.Same as [f. Arrow version. The result arrow is designed to be injected by local conditional flat-projections.Same as \l. Arrow version. The result arrow is designed to be injected by local conditional aggregated-projections.Same as MZ. Arrow version. The result arrow is designed to be injected by local flat-projections.Same as 7j. Arrow version. The result arrow is designed to be injected by locally built arrow using placeholders.Same as C. Finalize query-building arrow instead of query-building monad.Same as  C. Finalize query-building arrow instead of query-building monad.Same as C. Finalize query-building arrow instead of query-building monad.Same as C. Finalize query-building arrow instead of query-building monad.Same as *C. Finalize query-building arrow instead of query-building monad.Same as N4. This arrow is designed to be injected by local J.Same as iE. This arrow is designed to be injected by local flat-projections.Same as j4. This arrow is designed to be injected by local  AggregteKey.Same as k<. This arrow is designed to be injected by locally built  AggregtingSet arrow.Same as lE. This arrow is designed to be injected by local flat-projections.Same as m. Finalize locally built .Same as n. Finalize locally built .Same as o. Finalize locally built .Same as F. The result arrow is designed to be injected by local projections.Same as F. The result arrow is designed to be injected by local projections.Same as F. The result arrow is designed to be injected by local projections.Same as KF. The result arrow is designed to be injected by local projections.Same as 8. Make window function result projection using built  arrow.Make yN into arrow which is designed to be injected by local projection assignees.Same as O . Make :4 from assigning statement arrow using configuration.Same as P . Make : from assigning statement arrow.Same as h . Make :3 from restrict statement arrow using configuration.Same as i . Make : from restrict statement arrow.B|}~f !#$&'(-./0123456789<=>?GHIRSTUVWXYZ[\]^_`abcdefk      !"#$%&'()*+,-./012345689:JLOQVW|} !"#$%&'+./0123456789:;<=>?@ABCEFGIJLMNQRSTUVXYZ[\]^`abcefgtuvwxyz{|}~:~}|A|}~8"2013-2016 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone9;<=FT$&Rule template to infer constraint key.#Rule template to infer primary key.#Rule template to infer primary key.#Rule template to infer primary key.$Rule template to infer not-null key.$Rule template to infer not-null key.$Rule template to infer not-null key.Column projection path ! template.Column projection path ! and constraint key template.Column projection path ! templates.SMake column projection path and constraint key templates using default naming rule.)Rule template to infer table derivations.4Template to define inferred entries from table type. and  templates.Make TableDerivationH variable expression template from table name using default naming rule.Make H variable expression template from table name using default naming rule.Make J variable expression template from table name using specified naming rule.Make H variable expression template from table name using default naming rule.Make template for  instance.Make template for record & instance using specified naming rule.LMake templates about table and column metadatas using specified naming rule.JMake templates about table and column metadatas using default naming rule.RMake templates about table, column and haskell record using specified naming rule.PMake templates about table, column and haskell record using default naming rule.Template of derived primary A.Template of derived primary Update.'SQL templates derived from primary key.ASQL templates derived from primary key using default naming rule. All templates about primary key.!All templates about not-null key.>Generate all templtes about table using specified naming rule.<Generate all templtes about table using default naming rule.Unsafely inlining SQL string A in compile type.8Extract param type and result type from defined RelationInlining composed A in compile type.nGenerate all templates against defined record like type constructor other than depending on sql-value type.(Constraint type Record typeKey typeIndexes specifies keyResult 7 declaration Record typeKey typeIndexes specifies key"Result constraint key declarationsconfiguration parameters Schema name Table name Column typePrimary key index&Declarations of primary constraint key Schema name Table name Column typePrimary key index&Declarations of primary constraint key Record type Column indexResult ColumnConstraint declarationconfiguration parameters Schema name Table nameNotNull key index&Declaration of not-null constraint key Schema name Table nameNotNull key index&Declaration of not-null constraint key Record type Column declaration variable name0Column index expression in record (begin with 0) Column type"Column projection path declaration.May Constraint type and constraint object name Record type Column declaration variable name0Column index expression in record (begin with 0) Column type"Column projection path declarationRecord type nameColumn info list#Column projection path declarationsRecord type nameColumn info list#Column projection path declarationsTable declaration variable name"Relation declaration variable name*Insert statement declaration variable name/InsertQuery statement declaration variable name Record typeTable and Relation declarationTable declaration variable name"Relation declaration variable name*Insert statement declaration variable name/InsertQuery statement declaration variable name Record type'Table name in SQL ex. FOO_SCHEMA.table0 Column namesTable and Relation declarationTable name stringResult var ExpTable name stringResult var Exp2Configuration which has naming rules of templatesSchema name stringTable name stringResult var ExpSchema name stringTable name stringResult var Exp$Configuration to generate query with Schema name Table name*Column names and types and constraint typeResult declarations$Configuration to generate query with Schema name Table name*Column names and types and constraint typeResult declarations$Configuration to generate query with Schema name Table nameColumn names and typesRecord derivingsResult declarations$Configuration to generate query with Schema name Table nameColumn names and typesRecord derivingsResult declarations#Variable name of result declarationParameter type of ARecord type of A expressionResult A declaration#Variable name of result declarationParameter type of UpdateRecord type of Update expressionResult Update declaration9Variable name of select query definition from primary key=Variable name of update statement definition from primary keyPrimary key type Record typeRelation expressionTable expressionResult declarationsTable name of DatabasePrimary key type Record typeRelation expressionTable expressionResult declarations Schema nameTable name stringType of primary keyIndexes specifies primary keyResult declarations$Configuration to generate query withSchema name string of DatabaseTable name string of DatabaseColumn names and typesderivings for Record typePrimary key indexNot null key indexResult declarations$Configuration to generate query withSchema name string of DatabaseTable name string of DatabaseColumn names and typesderivings for Record typePrimary key indexNot null key indexResult declarationsQuery parameter typeQuery result typeSQL string query to inlineVariable name for inlined queryResult declarations%Variable name which has Relation type7Extracted param type and result type from Relation type"Top-level variable name which has  typeObject which has  typeConfiguration to generate SQLsuffix SQL words(Variable name to define as inlined queryResult declarationsType constructor nameResult declaration(,-.,-/,-0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~    S $$$$$$$$$$$ S    S      W         Q R                       ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k lmnopqrstuvwxyz{|}~*+      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFFGHHIJJKLMMNOOPQRRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~        !*!+!!!!!!!!!!!{!|!"!#!w!x!%!$!!!!!C!B!!!>!?!}!~!!p!Z!'!&!)!(!@!q!!!!!!!!!!!n!!!_!`!x!y!!""""""""""""""""""""""""""""#######,OS,-gxz{   $$$$$$$$$ $$$ $ $ $ $$$$$$$$d$c$$$$$%%%%      T   ! " # $ % & ' ( ) * + , - . / 0 1 2&3&4&5&6&3&7'8'9':'''8';  < = > ?  @AB C D E F  G H I J K L M NOPQRSTUVWXYZ[\]^_`abcd.efghijkl!!m!n!o!p!q!r!s"t"u"v"w"x"y"z"{"|"}"~"/relational-query-0.8.3.3-AoPKbUgGPueEZ6uD5WswOc$Database.Relational.Query.Constraint Database.Relational.Query.ScalarDatabase.Relational.Query.Pure#Database.Relational.Query.Pi.UnsafeDatabase.Relational.Query.Pi!Database.Relational.Query.Context#Database.Relational.Query.Component,Database.Relational.Query.Monad.Trans.ConfigDatabase.Relational.Query.TableDatabase.Relational.Query.Sub(Database.Relational.Query.Monad.BaseType$Database.Relational.Query.Projection%Database.Relational.Query.Projectable%Database.Relational.Query.Monad.Class1Database.Relational.Query.Monad.Trans.Aggregating/Database.Relational.Query.Monad.Trans.Assigning(Database.Relational.Query.Monad.Register.Database.Relational.Query.Monad.Trans.Ordering1Database.Relational.Query.Monad.Trans.Restricting(Database.Relational.Query.Monad.Restrict&Database.Relational.Query.Monad.Assign Database.Relational.Query.Effect*Database.Relational.Query.Monad.Trans.Join$Database.Relational.Query.Monad.Type)Database.Relational.Query.Monad.Aggregate&Database.Relational.Query.Monad.Simple&Database.Relational.Query.Monad.Unique-Database.Relational.Query.ProjectableExtendedDatabase.Relational.Query.SQL"Database.Relational.Query.RelationDatabase.Relational.Query.Type!Database.Relational.Query.DerivesDatabase.Relational.Query.ArrowDatabase.Relational.Query.TH&Database.Relational.Query.Internal.SQL&Database.Relational.Query.Internal.Sub*Database.Relational.Query.Internal.Product/Database.Relational.Query.Monad.Trans.JoinState-Database.Relational.Query.Monad.Trans.QualifyDatabase.Relational.QueryMonadicRestrictedStatementAssignStatement1persistable-record-0.4.1.0-BF7HUgkd76bIF2JEdF8kJ0Database.Record.KeyConstraintUniqueNotNullPrimary ScalarDegreedefineScalarDegree$fScalarDegreeMaybeShowConstantTermsSQLshowConstantTermsSQL'ProductConstructorproductConstructorshowConstantTermsSQL$fShowConstantTermsSQL(,)$fShowConstantTermsSQLMaybe$fShowConstantTermsSQLUTCTime$fShowConstantTermsSQLZonedTime$fShowConstantTermsSQLLocalTime$fShowConstantTermsSQLTimeOfDay$fShowConstantTermsSQLDay$fShowConstantTermsSQLDouble$fShowConstantTermsSQLFloat$fShowConstantTermsSQLBool$fShowConstantTermsSQLChar$fShowConstantTermsSQLText$fShowConstantTermsSQLText0 $fShowConstantTermsSQLByteString!$fShowConstantTermsSQLByteString0$fShowConstantTermsSQL[]$fShowConstantTermsSQLInt$fShowConstantTermsSQLInt64$fShowConstantTermsSQLInt32$fShowConstantTermsSQLInt16$fShowConstantTermsSQLInt8$fProductConstructor(->)PiunsafeExpandIndexespfmappapwidth<.>pidefinePidefineDirectPi'defineDirectPiid'fst'snd'PowerSetListSet OverWindowExists AggregatedFlatHasConstraintKey constraintKeyKeyindexesunsafeDefineConstraintKeytableConstraint projectionKey uniqueKeyderivedUniqueKey Assignments Assignment AssignTerm AssignColumn OrderingTerms OrderingTerm OrderColumnOrderAscDesc AggregateKey AggregateElem AggregateSetAggregateBitKeyAggregateColumnRef DuplicationAllDistinctIdentifierQuotation NoQuotation QuotationProductUnitSupport PUSupportedPUNotSupportedConfigproductUnitSupportchunksInsertSizeschemaNameModenormalizedTableNameverboseAsCompilerWarning nameConfigidentifierQuotationSchemaNameModeSchemaQualifiedSchemaNotQualified NameConfig recordConfigrelationVarName ColumnSQL columnSQL columnSQL'showsColumnSQL defaultConfigshowsDuplicationaggregateColumnRefaggregatePowerKeyaggregateGroupingSetaggregateRollup aggregateCube aggregateSetsaggregateEmptycomposeGroupBycomposePartitionByaggregateKeyProjectionaggregateKeyElementunsafeAggregateKeycomposeOrderBy composeSets composeValues composeOver$fShowNameConfig$fShowColumnSQL'$fFunctorColumnSQL'$fEqSchemaNameMode$fShowSchemaNameMode$fShowProductUnitSupport$fShowIdentifierQuotation $fShowConfig$fShowDuplication$fShowAggregateBitKey$fShowAggregateElem$fShowAggregateSet $fShowOrder QueryConfigrunQueryConfig queryConfigaskQueryConfig$fMonadQueryConfig$fFunctorQueryConfig$fApplicativeQueryConfigTableDerivable derivedTableTableUntypedname'width'columns'!unTypename shortNamecolumnsindextoMaybetable $fShowUntypedQueryRestriction Projection JoinProductProductBuilderNodeAttrUntypedProjectionProjectionUnit Qualified QualifierSubQuery fromTable flatSubQueryaggregatedSubQueryunionexcept intersectunitSQLshowSQLtoSQL qualifier unQualifyqualify queryWidthcolumnuntypedProjectionFromColumns#untypedProjectionFromScalarSubQuery#untypedProjectionFromJoinedSubQuerywidthOfUntypedProjectioncolumnsOfUntypedProjectionprojectionColumnsunsafeProjectionStringSqlunsafeProjectFromColumnsnodeTree composeWhere composeHavingRelationConfigureQueryconfigureQuery qualifyQuery askConfigunsafeTypeRelationuntypeRelationrightPhleftPhsqlFromRelationWithsqlFromRelationdump$fShowRelationListProjectionunsafeStringSqluntypeunsafeFromQualifiedSubQueryunsafeFromScalarSubQueryunsafeFromTableunsafeFromSqlTermspiMaybepiMaybe' flattenMaybejustunsafeChangeContextunsafeToAggregated unsafeToFlatunsafeStringSqlNotNullMaybelistunsafeListFromSubQueryunsafeStringSqlListProjectableApplicative|*|ProjectableFunctor|$|ProjectableIdZipleftIdrightIdProjectableMaybe PlaceHoldersSqlBinOpProjectableShowSqlunsafeShowSql'SqlProjectableunsafeProjectSqlTerms'unsafeProjectSqlTermsunsafeProjectSql'unsafeProjectSqlunsafeValueNullvalue valueTrue valueFalsevalues unsafeShowSql unsafeUniOp unsafeBinOp.=..<..<=..>..>=..<>.and'or'not'exists.||.?||?like' likeMaybe'like likeMaybe.+..-../..*.negate' fromIntegral'showNum?+??-??/??*? negateMaybefromIntegralMaybe showNumMaybe caseSearch casesOrElsecaseSearchMaybecase' casesOrElse' caseMaybein' isNothingisJust fromMayberank denseRank rowNumber percentRankcumeDistunsafeAddPlaceHoldersunsafePlaceHoldersunitPlaceHolder placeholder' placeholder projectZip><ipfmap$fProjectableApplicativePi$fProjectableFunctorPi"$fProjectableApplicativeProjection$fProjectableFunctorProjection$$fProjectableApplicativePlaceHolders $fProjectableFunctorPlaceHolders$fProjectableIdZipPlaceHolders$fProjectableMaybeProjection$fProjectableMaybePlaceHolders$fProjectableShowSqlProjection$fOperatorProjectableProjection $fOperatorProjectableProjection0$fSqlProjectableProjection$fSqlProjectableProjection0$fSqlProjectableProjection1MonadPartition partitionByMonadAggregategroupBygroupBy' MonadQualify liftQualify MonadQuerysetDuplication restrictJoinquery' queryMaybe' MonadRestrictrestrictall'distinctonwhereshaving$fMonadQualifyqqPartitioningSetAggregatingSetListAggregatingPowerSetAggregatingSetPartitioningSetTAggregatingPowerSetTAggregatingSetListTAggregatingSetT Aggregatings aggregatingsextractAggregateTermskeykey'setbkeyrollupcube groupingSets$fMonadPartitioncAggregatings$fMonadAggregateAggregatings$fMonadQueryAggregatings$fMonadQualifyqAggregatings$fMonadRestrictcAggregatings$fMonadTransAggregatings$fMonadAggregatings$fFunctorAggregatings$fApplicativeAggregatings AssignTarget Assignings assigningsassignTo<-#extractAssignments$fMonadQualifyqAssignings$fMonadRestrictcAssignings$fMonadTransAssignings$fMonadAssignings$fFunctorAssignings$fApplicativeAssigningsRegisterextract Orderings orderingsorderByascdescextractOrderingTerms$fProjectableOrderingProjection$fMonadPartitioncOrderings$fMonadAggregateOrderings$fMonadQueryOrderings$fMonadQualifyqOrderings$fMonadRestrictrcOrderings$fMonadTransOrderings$fMonadOrderings$fFunctorOrderings$fApplicativeOrderings Restrictings restrictingsextractRestrict$fMonadAggregateRestrictings$fMonadQueryRestrictings$fMonadQualifyqRestrictings$fMonadRestrictcRestrictings$fMonadTransRestrictings$fMonadRestrictings$fFunctorRestrictings$fApplicativeRestrictingsRestrictAssign InsertTarget UpdateTarget Restriction restriction restriction'sqlWhereFromRestriction updateTarget updateTarget'liftTargetAllColumnliftTargetAllColumn'updateTargetAllColumnupdateTargetAllColumn'sqlFromUpdateTarget insertTarget insertTarget'sqlFromInsertTarget$fShowUpdateTarget$fShowRestriction QueryJoinjoin'unsafeSubQueryWithAttrextractProduct$fMonadQueryQueryJoin$fMonadQualifyqQueryJoin$fMonadTransQueryJoin$fMonadQueryJoin$fFunctorQueryJoin$fApplicativeQueryJoin OrderedQuery QueryCore extractCoreWindowAggregatedQueryQueryAggregate toSubQueryover$fMonadRestrictFlatRestrictings SimpleQuery QuerySimplesimple QueryUniqueunsafeUniqueSubQuery$fMonadQualifyQueryUnique$fMonadQueryQueryUnique$fMonadQueryUnique$fApplicativeQueryUnique$fFunctorQueryUniqueProjectableRunIdsZiprunIdsProjectableFlattenMaybeflattenunsafeAggregateOpcountsumMaybesum'avgMaybeavgmaxMaybemax'minMaybemin'everyany'some'?!?!?flattenPiMaybe!?? flattenPh$fProjectableRunIdsZipaa$fProjectableRunIdsZip(,)b$fProjectableRunIdsZip(,)b0#$fProjectableFlattenMaybeMaybeMaybe$fProjectableFlattenMaybeMaybeb$fAggregatedContextOverWindow$fAggregatedContextAggregated QuerySuffixshowsQuerySuffixupdatePrefixSQL updateSQL'updateOtherThanKeySQL'updateOtherThanKeySQLinsertPrefixSQLinsertSizedChunkSQL insertSQLdeletePrefixSQL'deletePrefixSQLUniqueRelationJoinRestrictionderivedRelationtableOfquery queryMaybe queryList' queryList relation'relationaggregateRelation'aggregateRelationinner'left'right'full'innerleftrightfullon'unionAll exceptAll intersectAllunion' unionAll'except' exceptAll' intersect' intersectAll' unsafeUniqueunUnique uniqueQuery'uniqueQueryMaybe'uniqueRelation'aggregatedUnique queryScalar' queryScalarUntypeableNoFetch untypeNoFetchDelete untypeDelete InsertQueryuntypeInsertQueryInsert untypeInsert chunkedInsertUpdate untypeUpdate KeyUpdate updateKeyuntypeKeyUpdateQuery untypeQueryunsafeTypedQueryrelationalQuerySQLrelationalQuery'relationalQueryunsafeTypedKeyUpdatetypedKeyUpdatetypedKeyUpdateTableunsafeTypedUpdate updateSQL typedUpdate' typedUpdatederivedUpdate' derivedUpdatetypedUpdateAllColumnrestrictedUpdateAllColumnrestrictedUpdateTableAllColumnuntypeChunkInsertchunkSizeOfInsertunsafeTypedInsert'unsafeTypedInsert typedInsert' typedInsert derivedInserttypedInsertValue'typedInsertValuederivedInsertValue'derivedInsertValueunsafeTypedInsertQueryinsertQuerySQLtypedInsertQuery'typedInsertQueryderivedInsertQueryunsafeTypedDelete deleteSQL typedDelete' typedDeletederivedDelete' derivedDelete$fUntypeableNoFetchDelete$fUntypeableNoFetchUpdate$fUntypeableNoFetchInsertQuery$fUntypeableNoFetchInsert $fShowDelete$fShowInsertQuery $fShowInsert $fShowUpdate$fShowKeyUpdate $fShowQuery specifiedKeyuniqueprimary'primaryupdateValuesWithKeyupdateByConstraintKey primaryUpdatederivedUniqueRelationQueryA queryExists queryExists' queryListU queryListU' queryScalarU queryScalarU'assign$fCategoryQueryA $fArrowQueryAdefineHasPrimaryKeyInstance%defineHasPrimaryKeyInstanceWithConfig"defineHasPrimaryKeyInstanceDefaultdefineHasNotNullKeyInstance%defineHasNotNullKeyInstanceWithConfig"defineHasNotNullKeyInstanceDefault defineColumnsdefineColumnsDefaultdefineTableTypesderivationExpDefaulttableVarExpDefaultrelationVarExprelationVarExpDefault defineProductConstructorInstancedefineTableTypesWithConfigdefineTableTypesDefaultdefineTableTypesAndRecord defineTableTypesAndRecordDefaultdefinePrimaryQuerydefinePrimaryUpdatedefineSqlsWithPrimaryKeydefineSqlsWithPrimaryKeyDefault defineTabledefineTableDefaultunsafeInlineQuery reifyRelation inlineQuerymakeRelationalRecordDefault StringSQL stringSQLbaseGHC.BaseString showStringSQL rowStringSQLrowPlaceHolderStringSQLrowConsStringSQL listStringSQL intExprSQLescapeStringToSqlExpr stringExprSQLMaybe time-1.6.0.1Data.Time.Clock.UTCUTCTimeData.Time.LocalTime.LocalTime ZonedTime LocalTimeData.Time.LocalTime.TimeOfDay TimeOfDayData.Time.Calendar.DaysDayghc-prim GHC.TypesDoubleFloatBoolChar#text-1.2.2.1-9Yh8rJoh8fO2JMLWffT3QsData.Text.Internal.LazyTextData.Text.Internalbytestring-0.10.8.1Data.ByteString.Lazy.Internal ByteStringData.ByteString.InternalIntGHC.IntInt64Int32Int16Int8 intTermsSQLstringTermsSQL floatTermsconstantTimeTermsshowMaybeTermsPi'unsafeCastRecordWidthmap definePi'Database.Record.PersistablePersistableRecordWidthLeftestMapunsafePiAppend'unsafePiAppend unsafeCastsnd'' KeyConstraintunsafeReturnKey mapConstraint ColumnSQL'stringFromColumnSQL ColumnRefRollupCube GroupingSetsshowsAggregateColumnRefcommaedpCommashowsAggregateBitKeytransformers-0.5.2.0Control.Monad.Trans.ReaderReaderT columnArrayuntypeProjectionProductTreeBuilderQueryProductTreeNode ProductTreeBinOpSetOptypedProjection$fFunctorQualifiedFunctorLeafJoinQueryRestrictionBuilderQSJust'Columns NormalizedScalarBinUnionExcept Intersect growRight growProductrestrictProduct'restrictProductfromTableToSQLfromTableToNormalizedSQL normalizedSQLtoSQLs showQualifier columnFromIdqualifiedSQLas qualifiedFormwidthOfProjectionUnitcolumnOfProjectionUnitcolumnOfUntypedProjectionnodeAttrshowsQueryProductshowsJoinProductcomposeRestrict showsSetOp' showsSetOpsetBinselectPrefixSQL showUnitSQLcolumnN asColumnNprojectionUnitFromColumns projectionUnitFromScalarSubQueryunitUntypedProjection JoinContextprimeJoinContext updateProduct joinProductproductQualifyevalQualifyPrimenewAliasAliasIdunsafeCastPlaceHolder unsafeProjectListSubnotNullMaybeConstraint<*>fmap compareBinOp monoBinOp monoBinOp'unsafeCastPlaceHoldersOperatorProjectableunsafeFlatUniOp unsafeLikeunsafeCastProjectable whensClauseunsafeUniTermFunctionunsafeProjectPlaceHolder'unsafeProjectPlaceHolderunsafeAggregateWithTerm aggregateKeyextractTermList finalizePowertargetProjectionProjectableOrderingupdateOrderBys orderTermsupdateRestrictionrunRestriction_runUpdateTargetupdateAllColumnControl.Monad.Trans.State.LazyStateT updateContextupdateJoinRestriction queryWithAttr extractWindowAggregatedContextinsertChunkSQLjoin_uniqueQueryWithAttrplaceHoldersFromRelation queryList0 addUnitPHunsafeLiftAppend liftAppend liftAppend' targetTablerestrictedTablequeryA runQueryArunAofMunsafeQueryListunsafeQueryList'unsafeQueryScalarunsafeQueryScalar'defineHasConstraintKeyInstancecolumnTemplate'columnTemplatedefineTableDerivableInstancedefineTableDerivations*defineProductConstructorInstanceWithConfigdefineWithPrimaryKeydefineWithNotNullKeyWithConfigtableSQLquotederivationVarNameDefaulttableVarNameDefault