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