Merge pull request #1463 from sorki/srk/foreignTypo
servant-foreign: fix haddock/example typo
This commit is contained in:
commit
9df5195710
1 changed files with 1 additions and 1 deletions
|
@ -244,7 +244,7 @@ defReq = Req defUrl "GET" [] Nothing Nothing (FunctionName []) ReqBodyJSON
|
||||||
-- >
|
-- >
|
||||||
-- > -- Or for example in case of lists
|
-- > -- Or for example in case of lists
|
||||||
-- > instance HasForeignType LangX Text a => HasForeignType LangX Text [a] where
|
-- > 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
|
-- Finally to generate list of information about all the endpoints for
|
||||||
-- an API you create a function of a form:
|
-- an API you create a function of a form:
|
||||||
|
|
Loading…
Reference in a new issue