git.iko.soy/typeable/servant
on master help sign in
Merge pull request #1463 from sorki/srk/foreignTypo
9df5195Théophile Choutri
servant-foreign/src/Servant/Foreign/Internal.hs+1−1
@@ -244,7 +244,7 @@ defReq = Req defUrl "GET" [] Nothing Nothing (FunctionName []) ReqBodyJSON
244-- >
244-- >
245-- > -- Or for example in case of lists
245-- > -- Or for example in case of lists
246-- > instance HasForeignType LangX Text a => HasForeignType LangX Text [a] where
246-- > 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)
248--
248--
249-- Finally to generate list of information about all the endpoints for
249-- Finally to generate list of information about all the endpoints for
250-- an API you create a function of a form:
250-- an API you create a function of a form: