diff --git a/doc/cookbook/open-id-connect/OpenIdConnect.lhs b/doc/cookbook/open-id-connect/OpenIdConnect.lhs index 6b4d0ca2..8f9fbc74 100644 --- a/doc/cookbook/open-id-connect/OpenIdConnect.lhs +++ b/doc/cookbook/open-id-connect/OpenIdConnect.lhs @@ -330,7 +330,7 @@ data Customer = Customer { ``` Here is the code that displays the homepage. -It should contain a link to the the `/login` URL. +It should contain a link to the `/login` URL. When the user clicks on this link it will be redirected to Google login page with some generated information. diff --git a/doc/cookbook/uverb/UVerb.lhs b/doc/cookbook/uverb/UVerb.lhs index cc771111..46bef0f0 100644 --- a/doc/cookbook/uverb/UVerb.lhs +++ b/doc/cookbook/uverb/UVerb.lhs @@ -199,7 +199,7 @@ parsers in the hope that the ones that should will always error out so you can try until the right one returns a value.) [servant-exceptions](https://github.com/ch1bo/servant-exceptions) is -another shot at at the problem. It is inspired by +another shot at the problem. It is inspired by servant-checked-exceptions, so it may be worth taking a closer look. The README claims that [cardano-sl](https://github.com/input-output-hk/cardano-sl) also has diff --git a/servant-auth/servant-auth/src/Servant/Auth.hs b/servant-auth/servant-auth/src/Servant/Auth.hs index 1ada6fe2..de3bd9ea 100644 --- a/servant-auth/servant-auth/src/Servant/Auth.hs +++ b/servant-auth/servant-auth/src/Servant/Auth.hs @@ -27,7 +27,7 @@ instance HasLink sub => HasLink (Auth (tag :: [*]) value :> sub) where -- ** Combinators --- | A JSON Web Token (JWT) in the the Authorization header: +-- | A JSON Web Token (JWT) in the Authorization header: -- -- @Authorization: Bearer \@ -- diff --git a/servant-client-core/src/Servant/Client/Core/HasClient.hs b/servant-client-core/src/Servant/Client/Core/HasClient.hs index 18e6ef6c..a2e6ae25 100644 --- a/servant-client-core/src/Servant/Client/Core/HasClient.hs +++ b/servant-client-core/src/Servant/Client/Core/HasClient.hs @@ -902,7 +902,7 @@ infixl 2 /: -- rootClient = client api -- -- endpointClient :: ClientM Person --- endpointClient = client // subApi // endpoint +-- endpointClient = client \/\/ subApi \/\/ endpoint -- @ (//) :: a -> (a -> b) -> b x // f = f x @@ -935,10 +935,10 @@ x // f = f x -- rootClient = client api -- -- hello :: String -> ClientM String --- hello name = rootClient // hello /: name +-- hello name = rootClient \/\/ hello \/: name -- -- endpointClient :: ClientM Person --- endpointClient = client // subApi /: "foobar123" // endpoint +-- endpointClient = client \/\/ subApi \/: "foobar123" \/\/ endpoint -- @ (/:) :: (a -> b -> c) -> b -> a -> c (/:) = flip diff --git a/servant-docs/src/Servant/Docs/Internal.hs b/servant-docs/src/Servant/Docs/Internal.hs index 7e7706b5..1f5f1ea8 100644 --- a/servant-docs/src/Servant/Docs/Internal.hs +++ b/servant-docs/src/Servant/Docs/Internal.hs @@ -447,7 +447,7 @@ docsWith opts intros (ExtraInfo endpoints) p = & apiEndpoints %~ HM.unionWith (flip combineAction) endpoints --- | Generate the docs for a given API that implements 'HasDocs' with with any +-- | Generate the docs for a given API that implements 'HasDocs' with any -- number of introduction(s) docsWithIntros :: HasDocs api => [DocIntro] -> Proxy api -> API docsWithIntros intros = docsWith defaultDocOptions intros mempty