git.iko.soy/typeable/servant
on master help sign in
servant-foreign: fix haddock/example typo
51c8edbRichard Marko
servant-foreign/src/Servant/Foreign/Internal.hs+1−1
@@ -246,7 +246,7 @@ defReq = Req defUrl "GET" [] Nothing Nothing (FunctionName []) ReqBodyJSON
246-- >
246-- >
247-- > -- Or for example in case of lists
247-- > -- Or for example in case of lists
248-- > instance HasForeignType LangX Text a => HasForeignType LangX Text [a] where
248-- > instance HasForeignType LangX Text a => HasForeignType LangX Text [a] where
249−-- > typeFor lang type _ = "listX of " <> typeFor lang ftype (Proxy :: Proxy a)
249+-- > typeFor lang ftype _ = "listX of " <> typeFor lang ftype (Proxy :: Proxy a)
250--
250--
251-- Finally to generate list of information about all the endpoints for
251-- Finally to generate list of information about all the endpoints for
252-- an API you create a function of a form:
252-- an API you create a function of a form: