git.iko.soy/typeable/servant
on master help sign in
Merge pull request #1463 from sorki/srk/foreignTypo

servant-foreign: fix haddock/example typo

commit9df519571049a015625eaf8807b2fbedaf5fec80 authorThéophile Choutri <theophile@choutri.eu> dateMon 11 Oct 2021, 11:32 (5 years ago) parent48bc24751c8edb
1 file changed+1−1
servant-foreign/src/Servant/Foreign/Internal.hs+1−1
servant-foreign/src/Servant/Foreign/Internal.hs+1−1
@@ -244,7 +244,7 @@ defReq = Req defUrl "GET" [] Nothing Nothing (FunctionName []) ReqBodyJSON
244244-- >
245245-- > -- Or for example in case of lists
246246-- > instance HasForeignType LangX Text a => HasForeignType LangX Text [a] where
247−-- > typeFor lang type _ = "listX of " <> typeFor lang ftype (Proxy :: Proxy a)
247+-- > typeFor lang ftype _ = "listX of " <> typeFor lang ftype (Proxy :: Proxy a)
248248--
249249-- Finally to generate list of information about all the endpoints for
250250-- an API you create a function of a form: