Popularity
5.1
Declining
Activity
0.0
Stable
12
3
1

Monthly Downloads: 5
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Tags: Text    
Latest version: v0.1

Zwaluw alternatives and similar packages

Based on the "Text" category.
Alternatively, view Zwaluw alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of Zwaluw or a related project?

Add another 'Text' Package

README

Zwaluw is a Haskell combinator library for specifying URL routers. The routers are bidirectional: they parse a URL into a sitemap and serialise sitemap values back to URLs. Because you specify such a router only once, the resulting parser and serialiser are each other's inverse by construction.

Zwaluw derives pure routers for all your constructors. You can either use pure Template Haskell to derive these routers (see ExampleTH.hs), or use the regular package (see ExampleRegular.hs). With those constructor routers, you can build your own router, combining them and producing/consuming URLs. Both files contain an example of this.