Copyright | (c) Frederick Pringle 2024 |
---|---|
License | BSD-3-Clause |
Maintainer | freddyjepringle@gmail.com |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Internal module, subject to change.
Synopsis
- newtype Path = Path {}
- renderPath :: Path -> Text
- pathSeparator :: Text
Documentation
Simple representation of a URL path. The constructor and fields are not exported since I
may change the internal implementation in the future to use Text
instead of [
.Text
]
renderPath :: Path -> Text Source #
Pretty-print a path, including the leading /
.
pathSeparator :: Text Source #
Standard path separator "/"
.