CS代考 {-# LANGUAGE CPP #-}

{-# LANGUAGE CPP #-}
{-# LANGUAGE NoRebindableSyntax #-}
{-# OPTIONS_GHC -fno-warn-missing-import-lists #-}
{-# OPTIONS_GHC -Wno-missing-safe-haskell-mode #-}

Copyright By PowCoder代写 加微信 powcoder

module Paths_2022Assignment2 (
getBinDir, getLibDir, getDynLibDir, getDataDir, getLibexecDir,
getDataFileName, getSysconfDir

import qualified Control.Exception as Exception
import Data.Version (Version(..))
import System.Environment (getEnv)
import Prelude

#if defined(VERSION_base)

#if MIN_VERSION_base(4,0,0)
catchIO :: IO a -> (Exception.IOException -> IO a) -> IO a
catchIO :: IO a -> (Exception.Exception -> IO a) -> IO a

catchIO :: IO a -> (Exception.IOException -> IO a) -> IO a
catchIO = Exception.catch

version :: Version
version = Version [0,1,0,0] []
bindir, libdir, dynlibdir, datadir, libexecdir, sysconfdir :: FilePath

bindir = “C:\\Users\\nixon\\Documents\\a2\\.stack-work\\install\\b758fdf2\\bin”
libdir = “C:\\Users\\nixon\\Documents\\a2\\.stack-work\\install\\b758fdf2\\lib\\x86_64-windows-ghc-9.0.2\\2022Assignment2-0.1.0.0-qmFXnbNxMTGXu3knB8Kna-2022Assignment2-exe”
dynlibdir = “C:\\Users\\nixon\\Documents\\a2\\.stack-work\\install\\b758fdf2\\lib\\x86_64-windows-ghc-9.0.2”
datadir = “C:\\Users\\nixon\\Documents\\a2\\.stack-work\\install\\b758fdf2\\share\\x86_64-windows-ghc-9.0.2\\2022Assignment2-0.1.0.0”
libexecdir = “C:\\Users\\nixon\\Documents\\a2\\.stack-work\\install\\b758fdf2\\libexec\\x86_64-windows-ghc-9.0.2\\2022Assignment2-0.1.0.0”
sysconfdir = “C:\\Users\\nixon\\Documents\\a2\\.stack-work\\install\\b758fdf2\\etc”

getBinDir, getLibDir, getDynLibDir, getDataDir, getLibexecDir, getSysconfDir :: IO FilePath
getBinDir = catchIO (getEnv “2022Assignment2_bindir”) (\_ -> return bindir)
getLibDir = catchIO (getEnv “2022Assignment2_libdir”) (\_ -> return libdir)
getDynLibDir = catchIO (getEnv “2022Assignment2_dynlibdir”) (\_ -> return dynlibdir)
getDataDir = catchIO (getEnv “2022Assignment2_datadir”) (\_ -> return datadir)
getLibexecDir = catchIO (getEnv “2022Assignment2_libexecdir”) (\_ -> return libexecdir)
getSysconfDir = catchIO (getEnv “2022Assignment2_sysconfdir”) (\_ -> return sysconfdir)

getDataFileName :: FilePath -> IO FilePath
getDataFileName name = do
dir <- getDataDir return (dir ++ "\\" ++ name) 程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com