Module

Pathy.Parser

#Parser

newtype Parser

Constructors

#posixParser

posixParser :: Parser

A parser for POSIX paths.

#parsePath

parsePath :: forall z. Parser -> (RelDir -> z) -> (AbsDir -> z) -> (RelFile -> z) -> (AbsFile -> z) -> z -> String -> z

#parseRelFile

parseRelFile :: Parser -> String -> Maybe RelFile

Attempts to parse a relative file.

#parseAbsFile

parseAbsFile :: Parser -> String -> Maybe AbsFile

Attempts to parse an absolute file.

#parseRelDir

parseRelDir :: Parser -> String -> Maybe RelDir

Attempts to parse a relative directory.

#parseAbsDir

parseAbsDir :: Parser -> String -> Maybe AbsDir

Attempts to parse an absolute directory.

Modules