Module

Data.URI.Path

Package
purescript-uri
Repository
slamdata/purescript-uri

#URIPath Source

type URIPath a s = Either (Path a Dir s) (Path a File s)

A general URI path, can be used to represent relative or absolute paths that are sandboxed or unsandboxed.

#URIPathAbs Source

type URIPathAbs = URIPath Abs Sandboxed

The path part for a generic or absolute URI.

#URIPathRel Source

type URIPathRel = URIPath Rel Unsandboxed

The path part for a relative reference.

#parsePath Source

parsePath :: forall p. Parser p -> Parser (Maybe p)

#parsePathAbEmpty Source

parsePathAbEmpty :: forall p. Parser p -> Parser (Maybe p)

#parsePathAbsolute Source

parsePathAbsolute :: forall p. Parser p -> Parser p

#parsePathNoScheme Source

parsePathNoScheme :: forall p. Parser p -> Parser p

#parsePathRootless Source

parsePathRootless :: forall p. Parser p -> Parser p

#parseSegmentNonZeroNoColon Source

#printPath Source

printPath :: forall s a. URIPath a s -> String