git.iko.soy/typeable/servant
on master help sign in
Fix NamedRoutes example in 0.19 changelog (#1523)
commit6f12e386988bd6e9d6e5f2254db0d6e757538e20 authorClément Delafargue <clement@delafargue.name> dateThu 3 Feb 2022, 09:56 (5 years ago) parente14f445
1 file changed+3−3
servant/CHANGELOG.md+3−3
servant/CHANGELOG.md+3−3
@@ -48,11 +48,11 @@ Package versions follow the [Package Versioning Policy](https://pvp.haskell.org/
4848 rootClient :: RootApi (AsClientT ClientM)
4949 rootClient = client (Proxy @API)
5050
51− hello :: String -> ClientM String
52− hello name = rootClient // hello /: name
51+ helloClient :: String -> ClientM String
52+ helloClient name = rootClient // hello /: name
5353
5454 endpointClient :: ClientM Person
55− endpointClient = client // subApi /: "foobar123" // endpoint
55+ endpointClient = rootClient // subApi /: "foobar123" // endpoint
5656
5757 type Api = NamedRoutes RootApi
5858