'O";      !"#$%&'()*+,-./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 ABC>?@ ABC>?@ Safe-InferredDfromDotted "1.2.3"[1,2,3]EtoDotted [1,2,3]"1.2.3"DEDEDE Safe-InferredPackage version.  Creating .  toVer [1,2,3] Ver [1,2,3]From F to G verToString $ toVer [1,2,3]"1.2.3"From F in Cabal to . version $ Version [1,2,3] [] Ver [1,2,3]From F in Cabal to G. $versionToString $ Version [1,2,3] []"1.2.3"HHNone Converting   to alist. db <- getVerDB InstalledOnly#elem "base" . map fst . toList $ dbTrue Converting   to I.  JK LMNO     JK LMNONone 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 PQR  PQRNone STUVWX STUVWX None !"#$%&'()*+,-./012Y3Z4567[\]89: !"#$%&'()*+,-./0123456789: .-,+*)('&%$#"!/012Y3Z4567[\]89:None !"#$%&'()*+,-./0123456789: .-,+*)('&%$#"!/6712304598:^     !"#$%&'() * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C DEFGHIJKLMNOPQRPST UVWXYZ[\]^_`abcde _ f g h ij cab-0.2.5Distribution.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 OptStatic 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