HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

ModuleAgda-2.7.0.1Haskell2010

Agda.Utils.FileName

Operations on file names.

  • 1 type
  • 8 values
  • PackageAgda-2.7.0.1
  • Exports9
  • LanguageHaskell2010
  • LicenceMIT
  • SourceFileName.hs
newtypenewtype AbsolutePath
#

Paths which are known to be absolute.

Note that the Eq and Ord instances do not check if different paths point to the same files or directories.

Constructors

Instances8Eq, Ord, Read, Show, NFData, Hashable, …

Case-sensitive doesFileExist for Windows.

This is case-sensitive only on the file name part, not on the directory part. (Ideally, path components coming from module name components should be checked case-sensitively and the other path components should be checked case insensitively.)

valueisNewerThan :: FilePath -> FilePath -> IO Bool
#

True if the first file is newer than the second file. If a file doesn't exist it is considered to be infinitely old.