Module

URI.Path

Package
purescript-uri
Repository
slamdata/purescript-uri

#Path Source

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 Source

parser :: Parser String Path

A parser for a path-abempty URI component.

#print Source

print :: Path -> String

A printer for a path-abempty URI component.