dhall-to-cabal-1.3.2.0: Compile Dhall expressions to Cabal files

DhallToCabal.Util

Synopsis

# Documentation

Arguments

 :: FilePath The path to be relative to. Note that the final file-name is ignored: foo/bar is relative to foo/, even if foo/bar is a directory. -> FilePath The path to relativise. -> FilePath

Like makeRelative, but will introduce .. segments (and hence will misbehave in the presence of symlinks).

If the path being relativised is identical to the root path, then this will return the empty string.