Module

URI.Path.NoScheme

Package
purescript-uri
Repository
slamdata/purescript-uri

#PathNoScheme Source

newtype PathNoScheme

A relative path that doesn't look like a URI scheme, corresponding to path-noscheme in the spec. This path cannot start with the character /, contain the character : before the first /, or be entirely empty. This type can appear in a relative-part when there is no authority component.

Constructors

Instances

#parse Source

parse :: Parser String PathNoScheme

A parser for a path-noscheme URI component.

#print Source

print :: PathNoScheme -> String

A printer for a path-noscheme URI component.