servant/servant-examples
Andres Loeh e83397a1db Fix the auth combinator example.
This change adapt the auth combinator example to the new router code.
In general, the server interpretation of user-written combinators will
be affected by the new routing code.

The change here also introduces a change in functionality: previously,
wrong authentication triggered a "hard failure", whereas we now trigger
a "soft failure", which is recoverable. For the simple example, this
does not make a lot of difference.

In general, I think having a soft failure is the right option to take
here, although we want a more general story about the relative
priorities of different error codes.
2015-06-04 13:12:21 +02:00
..
auth-combinator Fix the auth combinator example. 2015-06-04 13:12:21 +02:00
hackage remove unsed type and clean up 2015-05-08 15:53:09 -06:00
tutorial getting-started -> tutorial 2015-05-10 13:39:18 +02:00
wai-middleware add an example to show how to apply a WAI middleware 2015-04-24 12:37:33 +02:00
LICENSE add an example on how to derive client functions for Hackage 2015-04-23 13:07:52 +02:00
servant-examples.cabal Bump to 0.4.1 2015-05-29 16:24:08 +02:00
Setup.hs add an example on how to derive client functions for Hackage 2015-04-23 13:07:52 +02:00