Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Readme aangepast: links naar de nieuwe examples.

  • Loading branch information...
commit d64fef3007cdabe970fbef0ef2657a8ac17b7930 1 parent 23220be
@MedeaMelana authored
Showing with 8 additions and 2 deletions.
  1. +8 −2 README.md
View
10 README.md
@@ -2,6 +2,12 @@ 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*.
-See [Example.hs][example] for an example router.
-[example]: https://github.com/MedeaMelana/Zwaluw/blob/master/Example.hs
+Zwaluw derives pure routers for all your constructors. You can either use pure
+Template Haskell to derive these routers (see [ExampleTH.hs][exampleTH]), or
+use the regular package (see [ExampleRegular.hs][exampleRegular]). With those
+constructor routers, you can build your own router, combining them and
+producing/consuming URLs. Both files contain an example of this.
+
+[exampleTH]: https://github.com/MedeaMelana/Zwaluw/blob/master/ExampleTH.hs
+[exampleRegular]: https://github.com/MedeaMelana/Zwaluw/blob/master/ExampleRegular.hs
Please sign in to comment.
Something went wrong with that request. Please try again.