f]\:SafeEReturn the longest suffix of elements that satisfy a given predicate.*Remove trailing white space from a string.stripEnd "foo ""foo"Safe_Find a sandbox config file by tracing ancestor directories. Exception is thrown if not foundyExtract a package db directory from the sandbox config file. Exception is thrown if the sandbox config file is broken.kAdding necessary GHC options to the package db. Exception is thrown if the string argument is incorrect.>sandboxArguments "/foo/bar/i386-osx-ghc-7.6.3-packages.conf.d"S["-no-user-package-db","-package-db","/foo/bar/i386-osx-ghc-7.6.3-packages.conf.d"]>sandboxArguments "/foo/bar/i386-osx-ghc-7.4.1-packages.conf.d"W["-no-user-package-conf","-package-conf","/foo/bar/i386-osx-ghc-7.4.1-packages.conf.d"]oExtracting GHC version from the path of package db. Exception is thrown if the string argument is incorrect.;extractGhcVer "/foo/bar/i386-osx-ghc-7.6.3-packages.conf.d"706   Safe   SafeM:Package database handling switched between GHC 7.4 and 7.6#Full stack of GHC package databasesUnsupported on GHC < 7.6ODetermine command line arguments to be passed to GHC to set databases correctly(dbArgs Post76 (PackageDBs False True [])["-no-user-package-db"].dbArgs Pre76 (PackageDBs True True ["somedb"])["-package-conf","somedb"]:The argument style to be used with the current GHC versionPDetermine the PackageDBs based on the environment and cabal sandbox informationOGet the package DB flags for the current GHC version and from the environment.  !"#$  !"#$ !"#$None2%+A combination of file name and line number.&A line number.'!A thing with a location attached.(/Convert a GHC located thing to a located thing.)Discard location information.*Add dummy location information.+PCreate a list from a location, by repeatedly increasing the line number by one.,(Convert a GHC source span to a location.%-.&'/()*+,012 %.-&'/()*+, %-.&'/()*+,012Safe!"32Truly random marker, used to separate expressions.IMPORTANT: This module relies upon the fact that this marker is unique. It has been obtained from random.org. Do not expect this module to work properly, if you reuse it for any purpose!4Evaluate an expression5Like 4, but try to preserve the it variable6Evaluate an expression789:;<=>?@A3BCDEF456 7<=>?@ACD456 789:;<=>?@A3BCDEF456SafeGRun an interpreter session.Example:+withInterpreter [] $ \i -> eval i "23 + 42""65\n"H:Evaluate an expression; return a Left value on exceptions.FAn exception may e.g. be caused on unterminated multiline expressions.IJKGList of flags, passed to GHC Action to runResult of actionHLMN7IJKGHLIJKGHLM Safe2OPQRSTUVWXYZ[\]^_`abcdefgOPQRSTUWYX_`abOPQRSTUVWXYZ[\]^_`abcdefg Noneh7Save static flag globals, run action, and restore them.i Run a GHC action in Haddock modehjiklmihjiklm None02 nBDocumentation for a module grouped together with the modules name.oA wrapper around p, to allow for a custom q instance.rParse a list of modules.s8Extract all docstrings from given list of files/modules.lThis includes the docstrings of all local modules that are imported from those modules (possibly indirect).tEExtract all docstrings from given module and attach the modules name.u)Extract all docstrings from given module.v-Collect given value and descend into subtree.w(Extract all docstrings from given value.x&Convert a docstring to a plain string.ynz{|}o~rstuvwxnz{|}s ynz{|}o~rstuvwx NoneMExtract Hs from all given modules and all modules included by the given modules.Convert documentation to s.2Extract all properties from given Haddock comment.4Extract all interactions from given Haddock comment. Create an ., strip superfluous whitespace as appropriate.talso merge lines between :{ and :}, preserving whitespace inside the block (since this is useful for avoiding {;}).'Remove leading and trailing whitespace. Extracted snz{|} NoneM(The result of evaluating an interaction.&Find all free variables in given term.&GHCi is used to detect free variables.OParse and return all variables that are not in scope from a ghc error message.NoneNonecharacters on the current line'should intermediate results be printed? test summary$A monad for generating test reports.Summary of a test run.(Run all examples from a list of modules.,Count number of expressions in given module.Add output to the report.&Add intermediate output to the report.0This will be overwritten by subsequent calls to /1. Intermediate out may not contain any newlines.9Add output to the report, overwrite any intermediate out.#Run all examples from given module.Run given test group.%The interpreter state is zeroed with :reload1 first. This means that you can reuse the same 7 for several test groups.4Execute all expressions from given example in given 7 and verify the output.Sum up summaries.Format a summary.None)Run doctest with given list of arguments.Example:3doctest ["-iexample/src", "example/src/Example.hs"]-Examples: 2 Tried: 2 Errors: 0 Failures: 0RThis can be used to create a Cabal test suite that runs doctest for your project.oIf a directory is given, it is traversed to find all .hs and .lhs files inside of it, ignoring hidden entries.FExpand a reference to a directory to all .hs and .lhs files within it.'Get the necessary arguments to add the cabal_macros.h) file and autogen directory, if present.None !"#$%&'()*+,-./0123456789:;5<=>?@ABCDEFFGHIJKLMNOPQRSTUVWXY   Z [ \ ] ^ _ ` a ` b  c d e f g h i j k l m n o p q r s t u vwxywz{ | } ~   u v                 `%doctest-0.13.0-68CpkA6jKqzCmuLcCYUhV3 Test.DocTestUtilSandbox Paths_doctest PackageDBsLocationLanguage.Haskell.GhciWrapper InterpreterOptionsGhcUtilExtractParsePropertyRunner.ExampleRunnerRundoctest takeWhileEndstripEndconvertDosLineEndingsgetSandboxConfigFilegetPackageDbDirsandboxArguments extractGhcVer configFilepkgDbKey pkgDbKeyLengetSandboxArgumentscatchIOversionbindirlibdirdatadir libexecdir sysconfdir getBinDir getLibDir getDataDir getLibexecDir getSysconfDirgetDataFileNameArgStyle includeGlobaldbArgs buildArgStylegetPackageDBsFromEnvgetPackageDBArgsPre76Post76 includeUserextraDBsLineLocated toLocatedunLoc noLocation enumerate toLocationUnhelpfulLocation$fNFDataLocation$fShowLocation$fNFDataLocatedmarkerevalevalItevalEchohInhOutprocessConfig configGhci configVerboseconfigIgnoreDotGhci defaultConfigitMarkernewclose putExpression getResultwithInterpretersafeEvalhaveInterpreterKeyghcInfointerpreterSupported safeEvalItfilterExpression&ghc-paths-0.1.0.9-AhaDlGOsRAepox069XzG GHC.Pathsghc runWarnings runOptions runMagicMode runFastMode runPreserveItWarningResultOutputusage ghcVersion versionInfoinfo defaultMagicdefaultFastModedefaultPreserveIt parseOptions stripNoMagic stripFaststripPreserveIt stripFlag stripOptGhcbracketStaticFlagswithGhchandleSrcErrorshandleStaticFlagshandleDynamicFlagssetHaddockModeModule ExtractErrorbase GHC.Exception SomeExceptionGHC.ShowShowparseextractextractFromModuledocStringsFromModuleselectextractDocStringsunpackDocStringSelector moduleName moduleSetup moduleContent$fNFDataModule$fExceptionExtractError$fShowExtractError getDocTestsDocTest parseModuleExampleparsePropertiesparseInteractions toInteraction InteractionstripExpectedResult Expression ExpectedLine WildCardLine LineChunk WildCardChunk parseModules parseCommenttryStripPrefixmkExpectedLine mkLineChunks$fIsStringExpectedLine$fIsStringLineChunkPropertyResult freeVariablesparseNotInScopeSuccessFailureError runPropertyEqualNotEqualmkResultformatNotEquallineChunkToStringreportStateCountreportStateInteractivereportStateSummaryReportSummary runModulescountreportreport_ overwrite runModule runTestGrouprunExampleGroup$fMonoidSummary $fShowSummary ReportState sExamplessTriedsErrors sFailures reportFailure reportError reportSuccess updateSummary safeEvalWith expandDirsgetAddDistArgs isSuccessdoctestWithOptions