cabal-helper-1.0.0.0: Give Haskell development tools access to Cabal project environment

LicenseApache-2.0
Safe HaskellSafe
LanguageHaskell2010

CabalHelper.Compiletime.Types.RelativePath

Description

 
Synopsis

Documentation

data RelativePath Source #

A path guaranteed to be relative and not escape the base path. The constructor is not exposed, use the mkRelativePath smart constructor.

mkRelativePath :: FilePath -> RelativePath Source #

Smart constructor for RelativePath. Checks if the given path satisfies the constraints and throws UserError if not.