Skip to content

Commit

Permalink
Merge pull request #1463 from sorki/srk/foreignTypo
Browse files Browse the repository at this point in the history
servant-foreign: fix haddock/example typo
  • Loading branch information
tchoutri committed Oct 11, 2021
2 parents 48bc247 + 51c8edb commit 9df5195
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion servant-foreign/src/Servant/Foreign/Internal.hs
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ defReq = Req defUrl "GET" [] Nothing Nothing (FunctionName []) ReqBodyJSON
-- >
-- > -- Or for example in case of lists
-- > instance HasForeignType LangX Text a => HasForeignType LangX Text [a] where
-- > typeFor lang type _ = "listX of " <> typeFor lang ftype (Proxy :: Proxy a)
-- > typeFor lang ftype _ = "listX of " <> typeFor lang ftype (Proxy :: Proxy a)
--
-- Finally to generate list of information about all the endpoints for
-- an API you create a function of a form:
Expand Down

0 comments on commit 9df5195

Please sign in to comment.