module Paths_gf ( version, getBinDir, getLibDir, getDataDir, getLibexecDir, getDataFileName, getSysconfDir ) where import qualified Control.Exception as Exception import Data.Version (Version(..)) import System.Environment (getEnv) import Prelude catchIO :: IO a -> (Exception.IOException -> IO a) -> IO a catchIO = Exception.catch version :: Version version = Version {versionBranch = [3,6,10], versionTags = ["darcs"]} bindir, libdir, datadir, libexecdir, sysconfdir :: FilePath bindir = "/Users/hallgren/Library/Haskell/bin" libdir = "/Users/hallgren/Library/Haskell/ghc-7.8.3-x86_64/lib/gf-3.6.10" datadir = "/Users/hallgren/Library/Haskell/share/ghc-7.8.3-x86_64/gf-3.6.10" libexecdir = "/Users/hallgren/Library/Haskell/libexec" sysconfdir = "/Users/hallgren/Library/Haskell/etc" getBinDir, getLibDir, getDataDir, getLibexecDir, getSysconfDir :: IO FilePath getBinDir = catchIO (getEnv "gf_bindir") (\_ -> return bindir) getLibDir = catchIO (getEnv "gf_libdir") (\_ -> return libdir) getDataDir = catchIO (getEnv "gf_datadir") (\_ -> return datadir) getLibexecDir = catchIO (getEnv "gf_libexecdir") (\_ -> return libexecdir) getSysconfDir = catchIO (getEnv "gf_sysconfdir") (\_ -> return sysconfdir) getDataFileName :: FilePath -> IO FilePath getDataFileName name = do dir <- getDataDir return (dir ++ "/" ++ name)
(HTML for this module was generated on 2015-03-03. About the conversion tool.)