servant-foreign: fix haddock/example typo
This commit is contained in:
parent
19ec395e66
commit
51c8edb74d
1 changed files with 1 additions and 1 deletions
|
@ -246,7 +246,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:
|
||||
|
|
Loading…
Reference in a new issue