Module

URI.Path

#Path

newtype Path

A generic absolute-or-empty path, used in both hierarchical-part and relative-parts when an authority component is present. Corresponds to path-abempty in the spec.

A path value of / corresponds to Path [""], an empty path is Path [].

Constructors

Instances

#parser

parser :: Parser String Path

A parser for a path-abempty URI component.

#print

print :: Path -> String

A printer for a path-abempty URI component.

Modules