burrito: Parse and render URI templates.
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]
Modules
[Index] [Quick Jump]
- Burrito
- Internal
- Burrito.Internal.Expand
- Burrito.Internal.Match
- Burrito.Internal.Parse
- Burrito.Internal.Render
- Burrito.Internal.TH
- Type
- Burrito.Internal.Type.Case
- Burrito.Internal.Type.Character
- Burrito.Internal.Type.Digit
- Burrito.Internal.Type.Expression
- Burrito.Internal.Type.Field
- Burrito.Internal.Type.Literal
- Burrito.Internal.Type.Match
- Burrito.Internal.Type.MaxLength
- Burrito.Internal.Type.Modifier
- Burrito.Internal.Type.Name
- Burrito.Internal.Type.Operator
- Burrito.Internal.Type.Template
- Burrito.Internal.Type.Token
- Burrito.Internal.Type.Value
- Burrito.Internal.Type.Variable
- Internal
Flags
Manual Flags
Name | Description | Default |
---|---|---|
pedantic | Enables | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- burrito-2.0.1.10.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
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 | 4023 total (113 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] |