On the recent occassion of the 25th birthday of OCaml, I am pleased to announce v1.0.0 release of wtr to opam. Wtr - Well Typed Router - is a library for routing uri path and query parameters in OCaml web applications.
A ppx - wtr.ppx is provided so that specifying uri routes is ergonomic and familiar. For e.g. to specify a uri path /home/about, you would specify as such,
Enjoy and Happy Birthday to OCaml!
Here’s to another 25.
B.
edit
P.S. Thank you @octachron, @Drup, @dinosaure, @hannes for fielding my many OCaml GADT related questions. Otr is a direct manifestation of that gestation process.
With apologies from the opam-repo team, we’ve had to revert the merging of this into the opam-repository since it clashes with another package also called otr. @BikalGurung, if you could resubmit the package with a non-clashing name, we’d greatly appreciate it.