| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
GHC.SysTools.BaseDir
Documentation
expandTopDir :: FilePath -> String -> String Source #
Expand occurrences of the $topdir interpolation in a string.
Arguments
| :: Bool | whether we use the ambient mingw toolchain |
| -> Maybe FilePath | tooldir |
| -> String | |
| -> String |
Expand occurrences of the $tooldir interpolation in a string
on Windows, leave the string untouched otherwise.