úÎ'!"`:      !"#$%&'()*+,-./0123456789 None:;<::;< Safe-Inferred<Find a sandbox config file by tracing ancestor directories, + parse it and return the package db path =<Find a sandbox config file by tracing ancestor directories. $ Exception is thrown if not found >=Extract a package db directory from the sandbox config file. = Exception is thrown if the sandbox config file is broken. >Generate GHC options for package db according to GHC version. getSandboxOpts Nothing""OgetSandboxOpts (Just "/path/.cabal-sandbox/i386-osx-ghc-7.6.3-packages.conf.d")E"-package-db /path/.cabal-sandbox/i386-osx-ghc-7.6.3-packages.conf.d"OgetSandboxOpts (Just "/path/.cabal-sandbox/i386-osx-ghc-7.4.1-packages.conf.d")G"-package-conf /path/.cabal-sandbox/i386-osx-ghc-7.4.1-packages.conf.d"?4Extracting 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 @AB=>? @AB=>? Safe-InferredCfromDotted "1.2.3"[1,2,3]DtoDotted [1,2,3]"1.2.3"CDCDCD Safe-InferredPackage version.  Creating .  toVer [1,2,3] Ver [1,2,3]From E to F verToString $ toVer [1,2,3]"1.2.3"From E in Cabal to . version $ Version [1,2,3] [] Ver [1,2,3]From E in Cabal to F. $versionToString $ Version [1,2,3] []"1.2.3"GGNone Converting   to alist. db <- getVerDB InstalledOnly#elem "base" . map fst . toList $ dbTrue Converting   to H.  IJ KLMN     IJ KLMNNone Obtaining  for global and user  getSandbox >>= getPkgDB  Obtaining  for user  Obtaining  for global   pkgdb <- getGlobalPkgDB  lookupByName "base" pkgdb   pkgdb <- getGlobalPkgDB ( lookupByVersion "base" "4.6.0.1" pkgdb OPQ  OPQNone RSTUVW RSTUVW None !"#$%&'()*+,-./01X2Y3456Z[\789 !"#$%&'()*+,-./0123456789 -,+*)('&%$#"!./01X2Y3456Z[\789None !"#$%&'()*+,-./0123456789 -,+*)('&%$#"!.56012/34879]     !"#$%&'() * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B CDEFGHIJKLMNOPQORS TUVWXYZ[\]^_`abcd ^ e f g hi cab-0.2.3Distribution.Cab.SandboxDistribution.Cab.VersionDistribution.Cab.VerDBDistribution.Cab.PkgDBDistribution.Cab.PrinterDistribution.CabDistribution.Cab.GenPathsDistribution.Cab.UtilsDistribution.Cab.Commands getSandboxgetSandboxOptsgetSandboxOpts2VertoVer verToStringversionversionToString HowToObtain AllRegistered InstalledOnlyVerDBPkgNamegetVerDBtoListtoMapPkgInfoPkgDBgetPkgDB getUserPkgDBgetGlobalPkgDB lookupByNamelookupByVersion toPkgInfos nameOfPkgInfofullNameOfPkgInfopairNameOfPkgInfo verOfPkgInfo topSortedPkgs printDeps printRevDeps extraInfoOption OptImportOptJobsOptExecProfile OptLibProfile OptDepsOnlyOptBenchOptHelpOptTestOptFlagOptInfoOptAll OptRecursive OptNoharmFunctionCommandsearch installedoutdated uninstallgenpathscheckdepsrevdeps initSandboxaddghcigenPathsgetNameVersion getCabalFilegetSandboxConfigFilegetPackageDbDir extractGhcVer configFilepkgDbKey pkgDbKeyLen fromDottedtoDottedbase Data.VersionVersionGHC.BaseStringcontainers-0.5.0.0 Data.Map.BaseMapVerInfoverinfosverinfodottednonEols toUserSpecgetDBsgetDBRevDB makeRevDepDBprintDep printRevDeps' printRevDep' showLicense unregister printDepends lookupPkgcheckOne