servant/servant-server/src/Servant/Server
Nicolas BACQUEY 77b92d0d7d Display capture hints in router layout
This commit introduces a `CaptureHint` type, which is passed as an extra
argument to the `CaptureRouter` and `CaptureAllRouter` constructors for
the `Router'` type.
`CaptureHint` values are then used in `routerLayout`, to display the
name and "type" of captured values (single or list), instead of just
"<capture>" previously.

N.B.:
Because the `choice` smart constructor for routers can aggregate
`Capture` combinators with different capture hints, the `Capture*Router`
constructors actually take a *list* of `CaptureHint`, instead of a
single one.
2022-03-23 14:30:45 +01:00
..
Experimental Split RouteApplication mega-module 2019-02-27 15:06:56 +02:00
Internal Display capture hints in router layout 2022-03-23 14:30:45 +01:00
Generic.hs Code reorganization 2021-11-18 10:09:58 +01:00
Internal.hs Display capture hints in router layout 2022-03-23 14:30:45 +01:00
StaticFiles.hs Cleanup pre-GHC-8.0 stuff 2018-07-11 01:39:38 +03:00
UVerb.hs Add response header support to UVerb (#1420) 2021-06-10 17:10:50 +02:00