Core data types for RFC 3986 URIs #
This module defines the URI (absolute URI) and RelativeRef (relative reference)
records, plus basic conversions and printer instances. Strings in fields are stored
without their leading delimiters (no leading ? for query, no # for fragment,
no // for authority).
The types store components exactly as parsed; normalization is performed elsewhere.
Equations
- LeanUri.instReprURI = { reprPrec := LeanUri.instReprURI.repr }
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
- LeanUri.instBEqURI.beq x✝¹ x✝ = false
Instances For
Equations
- LeanUri.instBEqURI = { beq := LeanUri.instBEqURI.beq }
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Equations
Instances For
Equations
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- LeanUri.instReprRelativeRef = { reprPrec := LeanUri.instReprRelativeRef.repr }
Equations
Equations
- One or more equations did not get rendered due to their size.
- LeanUri.instBEqRelativeRef.beq x✝¹ x✝ = false
Instances For
Equations
Drop the scheme of a URI and convert it to a RelativeRef,
keeping all other components unchanged.
Equations
Instances For
Serialize a RelativeRef to its RFC 3986 string form.
Includes //authority when present, appends ?query and #fragment when present,
and does not apply any normalization.
Equations
- One or more equations did not get rendered due to their size.
Serialize a URI to scheme ":" followed by the serialization of its relative part.
The output is not normalized.
Equations
- LeanUri.instToStringURI = { toString := fun (uri : LeanUri.URI) => uri.scheme ++ ":" ++ toString uri.toRelativeRef }