Agda-2.3.0: A dependently typed functional programming language and proof assistant



Operations on file names.



data AbsolutePath Source

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.

mkAbsolute :: FilePath -> AbsolutePathSource

Constructs AbsolutePaths.

Precondition: The path must be absolute and valid.

absolute :: FilePath -> IO AbsolutePathSource

Makes the path absolute.

This function may raise an __IMPOSSIBLE__ error if canonicalizePath does not return an absolute path.

(===) :: AbsolutePath -> AbsolutePath -> BoolSource

Tries to establish if the two file paths point to the same file (or directory).