burrito: Parse and render URI templates.

[ library, mit, network ] [ Propose Tags ] [ Report a vulnerability ]

Burrito is a Haskell library for parsing and rendering URI templates.

According to RFC 6570: "A URI Template is a compact sequence of characters for describing a range of Uniform Resource Identifiers through variable expansion." Burrito implements URI templates according to the specification in that RFC.

The term "uniform resource identifiers" (URI) is often used interchangeably with other related terms like "internationalized resource identifier" (IRI), "uniform resource locator" (URL), and "uniform resource name" (URN). Burrito can be used for all of these. If you want to get technical, its input must be a valid IRI and its output will be a valid URI or URN.

Although Burrito is primarily intended to be used with HTTP and HTTPS URIs, it should work with other schemes as well.


[Skip to Readme]

Flags

Manual Flags

NameDescriptionDefault
pedantic

Enables -Werror, which turns warnings into errors.

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 1.0.0.0, 1.0.0.1, 1.0.0.2, 1.0.1.0, 1.0.2.0, 1.1.0.0, 1.1.0.1, 1.1.0.2, 1.2.0.0, 1.2.0.1, 1.2.0.2, 1.2.0.3, 1.2.0.4, 2.0.0.0, 2.0.1.0, 2.0.1.1, 2.0.1.2, 2.0.1.3, 2.0.1.4, 2.0.1.5, 2.0.1.6, 2.0.1.7, 2.0.1.8, 2.0.1.9, 2.0.1.10
Change log CHANGELOG.md
Dependencies base (>=4.18.0.0 && <4.19 || >=4.19.0.0 && <4.20 || >=4.20.0.0 && <4.21), bytestring (>=0.11.4.0 && <0.12 || >=0.12.0.2 && <0.13), containers (>=0.6.7 && <0.8), parsec (>=3.1.16.1 && <3.2), template-haskell (>=2.20.0.0 && <2.21 || >=2.21.0.0 && <2.22 || >=2.22.0.0 && <2.23), text (>=2.0.2 && <2.2), transformers (>=0.6.1.0 && <0.7) [details]
License MIT
Author
Maintainer Taylor Fausak
Category Network
Source repo head: git clone https://github.com/tfausak/burrito
Uploaded by fozworth at 2024-05-18T15:16:14Z
Distributions LTSHaskell:2.0.1.10, NixOS:2.0.1.10, Stackage:2.0.1.10
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 4075 total (22 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2024-05-18 [all 1 reports]

Readme for burrito-2.0.1.10

[back to package description]

Burrito

CI Hackage

Burrito is a Haskell library for parsing and rendering URI templates.

According to RFC 6570: "A URI Template is a compact sequence of characters for describing a range of Uniform Resource Identifiers through variable expansion." Burrito implements URI templates according to the specification in that RFC.

The term "uniform resource identifiers" (URI) is often used interchangeably with other related terms like "internationalized resource identifier" (IRI), "uniform resource locator" (URL), and "uniform resource name" (URN). Burrito can be used for all of these. If you want to get technical, its input must be a valid IRI and its output will be a valid URI or URN.

Although Burrito is primarily intended to be used with HTTP and HTTPS URIs, it should work with other schemes as well.