module Paths_combinatorial_problems ( version, getBinDir, getLibDir, getDataDir, getLibexecDir, getDataFileName ) where import qualified Control.Exception as Exception import Data.Version (Version(..)) import System.Environment (getEnv) catchIO :: IO a -> (Exception.IOException -> IO a) -> IO a catchIO = Exception.catch version :: Version version = Version {versionBranch = [0,0,5], versionTags = []} bindir, libdir, datadir, libexecdir :: FilePath bindir = "/home/richard/.cabal/bin" libdir = "/home/richard/.cabal/lib/combinatorial-problems-0.0.5/ghc-7.4.2" datadir = "/home/richard/.cabal/share/combinatorial-problems-0.0.5" libexecdir = "/home/richard/.cabal/libexec" getBinDir, getLibDir, getDataDir, getLibexecDir :: IO FilePath getBinDir = catchIO (getEnv "combinatorial_problems_bindir") (\_ -> return bindir) getLibDir = catchIO (getEnv "combinatorial_problems_libdir") (\_ -> return libdir) getDataDir = catchIO (getEnv "combinatorial_problems_datadir") (\_ -> return datadir) getLibexecDir = catchIO (getEnv "combinatorial_problems_libexecdir") (\_ -> return libexecdir) getDataFileName :: FilePath -> IO FilePath getDataFileName name = do dir <- getDataDir return (dir ++ "/" ++ name)