Module

Pathy.Parser

Package
purescript-pathy
Repository
purescript-contrib/purescript-pathy

#Parser Source

newtype Parser

Constructors

#posixParser Source

posixParser :: Parser

A parser for POSIX paths.

#parsePath Source

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

#parseRelFile Source

parseRelFile :: Parser -> String -> Maybe RelFile

Attempts to parse a relative file.

#parseAbsFile Source

parseAbsFile :: Parser -> String -> Maybe AbsFile

Attempts to parse an absolute file.

#parseRelDir Source

parseRelDir :: Parser -> String -> Maybe RelDir

Attempts to parse a relative directory.

#parseAbsDir Source

parseAbsDir :: Parser -> String -> Maybe AbsDir

Attempts to parse an absolute directory.