File tree Expand file tree Collapse file tree 5 files changed +7
-7
lines changed
servant-auth/servant-auth/src/Servant
servant-client-core/src/Servant/Client/Core
servant-docs/src/Servant/Docs Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -330,7 +330,7 @@ data Customer = Customer {
330
330
`` `
331
331
332
332
Here is the code that displays the homepage.
333
- It should contain a link to the the `/login` URL.
333
+ It should contain a link to the `/login` URL.
334
334
When the user clicks on this link it will be redirected to Google login page
335
335
with some generated information.
336
336
Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ parsers in the hope that the ones that should will always error out so
199
199
you can try until the right one returns a value.)
200
200
201
201
[servant-exceptions](https://github.com/ch1 bo/servant-exceptions) is
202
- another shot at at the problem. It is inspired by
202
+ another shot at the problem. It is inspired by
203
203
servant-checked-exceptions, so it may be worth taking a closer look.
204
204
The README claims that
205
205
[cardano-sl](https://github.com/input-output-hk/cardano-sl) also has
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ instance HasLink sub => HasLink (Auth (tag :: [*]) value :> sub) where
27
27
28
28
-- ** Combinators
29
29
30
- -- | A JSON Web Token (JWT) in the the Authorization header:
30
+ -- | A JSON Web Token (JWT) in the Authorization header:
31
31
--
32
32
-- @Authorization: Bearer \<token\>@
33
33
--
Original file line number Diff line number Diff line change @@ -902,7 +902,7 @@ infixl 2 /:
902
902
-- rootClient = client api
903
903
--
904
904
-- endpointClient :: ClientM Person
905
- -- endpointClient = client / / subApi / / endpoint
905
+ -- endpointClient = client \/\ / subApi \/\ / endpoint
906
906
-- @
907
907
(//) :: a -> (a -> b ) -> b
908
908
x // f = f x
@@ -935,10 +935,10 @@ x // f = f x
935
935
-- rootClient = client api
936
936
--
937
937
-- hello :: String -> ClientM String
938
- -- hello name = rootClient / / hello /: name
938
+ -- hello name = rootClient \/\ / hello \ /: name
939
939
--
940
940
-- endpointClient :: ClientM Person
941
- -- endpointClient = client / / subApi /: "foobar123" / / endpoint
941
+ -- endpointClient = client \/\ / subApi \ /: "foobar123" \/\ / endpoint
942
942
-- @
943
943
(/:) :: (a -> b -> c ) -> b -> a -> c
944
944
(/:) = flip
Original file line number Diff line number Diff line change @@ -447,7 +447,7 @@ docsWith opts intros (ExtraInfo endpoints) p =
447
447
& apiEndpoints %~ HM. unionWith (flip combineAction) endpoints
448
448
449
449
450
- -- | Generate the docs for a given API that implements 'HasDocs' with with any
450
+ -- | Generate the docs for a given API that implements 'HasDocs' with any
451
451
-- number of introduction(s)
452
452
docsWithIntros :: HasDocs api => [DocIntro ] -> Proxy api -> API
453
453
docsWithIntros intros = docsWith defaultDocOptions intros mempty
You can’t perform that action at this time.
0 commit comments