SysTools.BaseDir

ghc-8.4.0.20171214: The GHC API

Safe Haskell | None
Language | Haskell2010

SysTools.BaseDir

Synopsis

- expandTopDir :: FilePath -> String -> String
- findTopDir :: Maybe String -> IO String

# Documentation

expandTopDir :: FilePath -> String -> String Source #

Expand occurrences of the `$topdir` interpolation in a string.

findTopDir :: Maybe String -> IO String Source #

Returns a Unix-format path pointing to TopDir.