System.Path.Posix

The main filepath (& dirpath) abstract type

data Path ar fd

Phantom Types

data Abs

data Rel

data File

data Dir

Type Synonyms

type AbsFile

type RelFile

type AbsDir

type RelDir

type AbsPath fd

type RelPath fd

type FilePath ar

type DirPath ar

Classes

class AbsRelClass ar

class FileDirClass fd

Path to String conversion

getPathString

Constants

rootDir

currentDir

Unchecked Construction Functions

asPath

asRelFile

asRelDir

asAbsFile

asAbsDir

asRelPath

asAbsPath

asFilePath

asDirPath

Checked Construction Functions

mkPathAbsOrRel

mkPathFileOrDir

mkAbsPath

mkAbsPathFromCwd

Basic Manipulation Functions

(</>)

(<.>)

addExtension

combine

dropExtension

dropExtensions

dropFileName

replaceExtension

replaceBaseName

replaceDirectory

replaceFileName

splitExtension

splitExtensions

splitFileName

takeBaseName

takeDirectory

takeExtension

takeExtensions

takeFileName

Auxillary Manipulation Functions

equalFilePath

joinPath

normalise

splitPath

makeRelative

makeAbsolute

makeAbsoluteFromCwd

genericMakeAbsolute

genericMakeAbsoluteFromCwd

pathMap

Path Predicates

isAbsolute

isAbsoluteString

isRelative

isRelativeString

hasAnExtension

hasExtension

Separators

addTrailingPathSeparator

dropTrailingPathSeparator

extSeparator

hasTrailingPathSeparator

pathSeparator

pathSeparators

searchPathSeparator

isExtSeparator

isPathSeparator

isSearchPathSeparator

Generic Manipulation Functions

genericAddExtension

genericDropExtension

genericDropExtensions

genericSplitExtension

genericSplitExtensions

genericTakeExtension

genericTakeExtensions