servant/servant-server/test
Andres Loeh b1a6d88845 Revise the Router type to allow proper sharing.
We've previously used functions in the Router type to provide
information for subrouters. But this accesses the Requests too
early, and breaks sharing of the router structure in general,
causing the Router or large parts of the Router to be recomputed
on every request.

We now do not use functions anymore, and properly compute all
static parts of the router first, and gain access to the request
only in Delayed.

This also turns the code used within Delayed into a proper monad
now called DelayedIO, making some of the code using it a bit
nicer.
2016-04-12 09:38:49 +02:00
..
Servant Revise the Router type to allow proper sharing. 2016-04-12 09:38:49 +02:00
Doctests.hs less OverlappingInstances noise 2016-01-04 13:09:11 -05:00
Spec.hs Prepare merge 2015-04-20 11:13:18 +02:00