e܈      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ NoneNonedY,  NoneNone`Type of the environment under which we reconstruct ordinary haskell data from the query result. a The first component of the reader monad contains a mapping from (queryNumber, columnNumber) to e the number of a nested query. The second component is a tuple consisting of query number associated ` with a pair of the raw result data partitioned by iter, and a description of this result data. UDescription of result data of a query. The field iterR contains the column number of ^ the iter column. resCols contains a for all items columns their column number in the result. MDescription of a table. The field iterN contains the name of the iter column \ the items field contains a list of item column names and their position within the result. HType representing a query bundle, the type variable represents the type S of the result of the query bundle. A bundle consists of pair of numbered queries. I Each query consists of the query itself, a schema explaining its types. V If the query is a nested value in the result of another query the optional attribute ] represents (queryID, columnID). The queryId refers to the number of the query in the bundle  the columnID refers ,Wrapper type with phantom type for SQL plan A The type variable represents the type of the result of the plan 2Wrapper type with phantom type for algebraic plan A The type variable represents the type of the result of the plan LTranslate the algebraic plan to SQL and then execute it using the provided J DB connection. If debug is switchd on the SQL code is written to a file  named query.sql ;Translate an algebraic plan into SQL code using Pathfinder GExtract the SQL queries from the XML structure generated by pathfinder JExecute the given SQL queries and assemble the results into one structure *Retrieve the data asociated with query i. &Get the position of item i of query q ?Get the id of the query that is nested in column c of query q. IReconstruct the haskell value out of the result of query i with type ty. TReconstruct the values for column c of query q out of the rawData vals with type t. Partition by iter column 8 The first argument is the position of the iter column. " The second argument the raw data < It returns a list of pairs (iterVal, rawdata within iter) CExecute the given query plan bundle, over the provided connection. X It returns the raw data for each query along with a description on how to reconstruct  ordinary haskell data 5Transform algebraic plan scheme info into resultinfo !!None 3Provide a fresh identifier name during compilation  BGet from the state the connection to the database  BLookup information that describes a table. If the information is F not present in the state then the connection is used to retrieve the & table information from the Database.  ;Turn a given integer into a variable beginning with prefix __fv_  /Execute the transformation computation. During 5 compilation table information can be retrieved from 8 the database, therefor the result is wrapped in the IO  Monad. "Execute the query on the database 2Convert the query into unoptimised algebraic plan 0Convert the query into optimised algebraic plan Convert the query into SQL Xevaluate compiles the given Q query into an executable plan, executes this and returns \ the result as norm. For execution it uses the given connection. If the boolean flag is set = to true it outputs the intermediate algebraic plan to disk. =Transform a query into an algebraic plan. /Transform the Query into a ferry core program. 2Construct a flat-FerryCore type out of a DSH type D A flat type consists out of two tuples, a record is translated as: ? {r1 :: t1, r2 :: t2, r3 :: t3, r4 :: t4} (t1, (t2, (t3, t4))) 8Transform an arbitrary DSH-type into a ferry core type 3Translate the DSH operator to Ferry Core operators STransform a DSH-primitive-function (f) with an instantiated typed into a FerryCore  expression cRetrieve through the given database connection information on the table (columns with their types) 5 which name is given as the second argument.                None%  !"#$%&'()*+,-./01234567 %  !"#$%&'()*+,-./01234567 None !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~89:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghis !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~89:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghiNonejRead SQL values into Norm values k Check if a l matches a  mnopqrstj=Table name, used to generate more informative error messages uvk mnopqrstjuvkNonewxyz{|}~      !"#$%&'()*+,-./01234l56789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~        ! " # $ % & ' ( ) * + , - . / 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 l m n o p q r s t u v w x y z { | } ~        !"#$%&'()*+,-./0123456789:;<= > ? @ 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 l m n opqrstuvwxyz{ |}~}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr r r r r rrrrrrrrrrrrrrrrrrr r!r"r#r$r%r&r'r(r)r*r+r,r-r.r/r0r1r2rs3rs4rs5rs6rs7rs8rs9rs:rs;rs<rs=rs>rs?rs@rsArsBrsCrsDrsErsFrsGrsHrsIrsJrsKrsLrsMrsN}OP}Q}R}S}T}U}V}W}X}Y}Z}[}\}]^}_`}_a}bc}bd}be}bf}bg}bh}i}j}k}l}mn}o}p}q}r}s}t}u}v}w}x}y}z}{}|}}}~}}}}}}}}}}}}}}}}}}]}]}}}}}}}}}}}}}}}}}}}}~}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}} DSH-0.8.2.2 Database.DSHDatabase.DSH.CompilerDatabase.DSH.InterpreterDatabase.DSH.ImpossibleDatabase.DSH.InternalsDatabase.DSH.CSVDatabase.DSH.CompileDatabase.DSH.THDatabase.DSH.ExternalsViewviewElimelimQAQfromQ debugPlan debugPlanOpt debugCore debugCoreDotdebugSQL deriveDSHderiveQAderiveTupleRangeQA deriveViewderiveTupleRangeView deriveElimderiveSmartConstructors!deriveTupleRangeSmartConstructorstabletableDB tableWithKeystableCSVtoQunitfalsetruenot&&||eq==neq/=lt<lte<=gte>=gt>minmaxboolcond ifThenElse? listToMaybe maybeToListnothingjust isNothingisJustfromJustmaybe fromMaybe catMaybesmapMaybe pairToEither eitherToPairleftrightisLeftisRighteitherleftsrightspartitionEithersnilemptycons<|snoc|> singletonheadtailtakedropmapappend++filter groupWithKey groupWithsortWithlastinitnulllengthindex!!reverseandoranyallsumconcat concatMapmaximumminimumsplitAt takeWhile dropWhilespanbreakelemnotElemlookupzipzipWithunzipzip3zipWith3unzip3nubfstsndintegerToDoublereturn>>=>>mzipguardpairtripletuple2tuple3tuple4tuple5tuple6tuple7 impossibleToViewTA BasicType EliminatorReptoExpfrExpReifyreifyFunCond DropWhile TakeWhileSortWith GroupWithKeyFilterMapZipSplitAtIndexDropTakeConsMaxMinDisjConjGtGteEquLteLtDivSubMulAddNubMinimumMaximumSumSndFstReverseLengthNullLastInitTailHeadConcatOrAndIntegerToDoubleNotTypeArrowTListTPairTTextTDoubleTIntegerTCharTBoolTUnitTTableTableCSVTableDBExpTableEVarELamEAppEListEPairETextEDoubleEIntegerECharEBoolEUnitEunQtoLam $fReify(->) $fReify[] $fReify(,) $fReifyText $fReifyDouble$fReifyInteger $fReifyChar $fReifyBool $fReify() $fShowFun $fShowType csvImportQueryR ResultInfo SchemaInfo QueryBundleSQLXML AlgebraXML executePlanalgToSQL extractSQLrunSQL getResults getColResPos findQueryprocessResultsprocessResults' partByIterrunQueryschemeToResultiterRresColsiterNitemsBundleSQLAlgebraalgToAlg nrColsInType sqlValueToIntconvertdshFetchAllRowsStrict buildRefMapfreshVar getConnection tableInfo prefixVarrunNevaluate doCompile transformEflatFTy transformTy transformOp transformF getTableInfoNtransformLamArg transformArgsizeOfTyisOp deriveTyConQA deriveRep deriveRepCons deriveRepCon deriveToExpderiveToExpClausederiveToExpMainExp deriveFrExpderiveFrExpClausederiveFrExpMainPatderiveTyConView deriveToViewderiveTyConElimderiveEliminatorderiveEliminatorConsderiveEliminatorCon deriveElimFunderiveElimFunClausederiveElimToLamExpderiveElimFunClauseExpderiveSmartConstructorderiveSmartConBodytoSmartConName conToTypestyVarBndrToName conToPattern conToNamecountConstructorserrMsgExoticType $fIsStringQ$fViewQ$fViewQ0$fViewQ1$fViewQ2$fViewQ3$fViewQ4$fViewQ5$fViewQ6 $fFractionalQ$fNumQ$fNumQ0$fFractionalExp$fNumExp $fNumExp0$fTA(,)$fTAText $fTADouble $fTAInteger$fTAChar$fTABool$fTA()$fBasicTypeText$fBasicTypeDouble$fBasicTypeInteger$fBasicTypeChar$fBasicTypeBool $fBasicType() $fElimEitherr $fElimMayber $fElim(,)r $fElimTextr $fElimDoubler$fElimIntegerr $fElimCharr $fElimBoolr $fElim()r $fQAEither $fQAMaybe$fQA[]$fQA(,,)$fQA(,)$fQAText $fQADouble $fQAInteger$fQAChar$fQABool$fQA() $fQA(,,,) $fViewQ10sqlToExpWithType typeMatch HDBC-2.3.1.1Database.HDBC.SqlValueSqlValue compareExpequExpltExplteExpgteExpgtExpescape sizeOfTypebaseGHC.ErrerrorGHC.Basefoldrghc-primGHC.Primseq System.IOprint otherwise$GHC.Num fromInteger-GHC.Real fromRationalGHC.EnumenumFrom enumFromThen enumFromToenumFromThenTonegatefailfmap Data.String fromString fromIntegral realToFrac toInteger toRationalBoundedEnum GHC.ClassesEq GHC.FloatFloating FractionalIntegralMonadFunctorNumOrdGHC.ReadReadReal RealFloatRealFracGHC.ShowShowIsString GHC.TypesBoolCharDoubleFloatInt integer-gmpGHC.Integer.TypeIntegerOrderingRationalIO Data.EitherEitherStringFalseTrueLeftRightLTEQGT Data.MaybeNothingDatabase.HDBC.Utils throwSqlError quickQuery' quickQueryfetchAllRowsMap'fetchAllRowsMapfetchAllRowsAL'fetchAllRowsAL fetchRowMap fetchRowALsFetchAllRows' sFetchAllRows fetchAllRows' fetchAllRowswithTransaction sFetchRow sExecuteManysExecutesRunhandleSqlError sqlExceptions handleSqlcatchSqlDatabase.HDBC.Types withWConn describeTable getTablesdbTransactionSupport dbServerVerproxiedClientVerproxiedClientName hdbcClientVerhdbcDriverNameclonepreparerunrunRawrollbackcommit disconnect IConnection ConnWrapperDatabase.HDBC.StatementdescribeResult originalQuerygetColumnNamesfetchRowfinish executeMany executeRawexecute Statement seErrorMsg seNativeErrorseStateSqlErrorDatabase.HDBC.ColTypes colNullable colDecDigitscolOctetLengthcolSizecolType SqlColDescSqlCharT SqlVarCharTSqlLongVarCharT SqlWCharT SqlWVarCharTSqlWLongVarCharT SqlDecimalT SqlNumericT SqlSmallIntT SqlIntegerTSqlRealT SqlFloatT SqlDoubleTSqlBitT SqlTinyIntT SqlBigIntT SqlBinaryT SqlVarBinaryTSqlLongVarBinaryTSqlDateTSqlTimeTSqlTimeWithZoneT SqlTimestampTSqlTimestampWithZoneTSqlUTCDateTimeT SqlUTCTimeT SqlIntervalTSqlGUIDT SqlUnknownT SqlTypeIdSqlIntervalMonthTSqlIntervalYearTSqlIntervalYearToMonthTSqlIntervalDayTSqlIntervalHourTSqlIntervalMinuteTSqlIntervalSecondTSqlIntervalDayToHourTSqlIntervalDayToMinuteTSqlIntervalDayToSecondTSqlIntervalHourToMinuteTSqlIntervalHourToSecondTSqlIntervalMinuteToSecondT SqlInterval posixToSqliToSqlnToSqlfromSql safeFromSqltoSql SqlString SqlByteString SqlWord32 SqlWord64SqlInt32SqlInt64 SqlIntegerSqlCharSqlBool SqlDouble SqlRational SqlLocalDateSqlLocalTimeOfDaySqlZonedLocalTimeOfDay SqlLocalTime SqlZonedTime SqlUTCTime SqlDiffTime SqlPOSIXTime SqlEpochTime SqlTimeDiffSqlNullPrelude$!readIOreadLn appendFile writeFilereadFileinteract getContentsgetLinegetCharputStrLnputStrputCharGHC.IO.ExceptionioError Text.Readreadreads Data.Listunwordswordsunlineslinesproductfoldl1lex readParenreadList readsPrecText.ParserCombinators.ReadPReadSacoshatanhasinhcoshtanhsinhacosatanasincostansinlogBase**logsqrtexppiatan2isIEEEisNegativeZeroisDenormalized isInfiniteisNaN scaleFloat significandexponent encodeFloat decodeFloat floatRange floatDigits floatRadixGHC.IOFilePath userErrorIOErrorlcmgcd^^^oddevendivModquotRemmoddivremquotrecip/floorceilingroundtruncateproperFraction undefined Control.MonadmapM_mapM sequence_sequence=<<maxBoundminBoundfromEnumtoEnumpredsucc showParen showStringshowCharshowsShowSshowListshow showsPrecGHC.Listcycle replicaterepeatiteratescanr1scanrfoldr1scanl1scanlfoldlJustMaybe Data.Tupleuncurrycurrysubtractsignumabs*+asTypeOfuntilflip.constidcompare text-0.11.2.3Data.Text.InternalText