servant/servant
Gaël Deest 65e3070cac Add NamedRoutes combinator
Allows users to directly embed APIs defined as records of routes into
vanilla Servant API types.

E.g.:

```haskell
data MyRoutes mode = MyRoutes
  { version :: mode :- Get '[JSON] Int
  , …
  }

type API = "prefix" :> NamedRoutes MyRoutes :<|> …
```

APIs can thus be recursively defined directly with Generic record types.
2021-11-18 10:09:58 +01:00
..
src/Servant Add NamedRoutes combinator 2021-11-18 10:09:58 +01:00
test Support GHC-9.0.1 2021-06-23 23:06:07 +02:00
.ghci add servant/.ghci 2016-01-07 23:59:54 +01:00
CHANGELOG.md Prepare 0.18.3 release (#1430) 2021-06-24 00:38:46 +03:00
docs.sh prepare merge 2015-04-20 11:21:21 +02:00
LICENSE Changelog and cabal file edits 2018-11-13 09:58:42 +02:00
servant.cabal Change the license value to a valid SPDX identifier 2021-10-31 22:37:56 +01:00
Setup.hs Change build-type: Simple; run doctests on CI via haskell-ci 2020-01-10 01:07:31 +02:00
update-nixpkgs.sh prepare merge 2015-04-20 11:21:21 +02:00