git.iko.soy/typeable/servant
on master help sign in
servant-foreign: fix haddock/example typo
commit51c8edb74d790eb1e914890a64ac4d92d9f04311 authorRichard Marko <srk@48.io> dateMon 11 Oct 2021, 10:29 (5 years ago) parent19ec395
1 file changed+1−1
servant-foreign/src/Servant/Foreign/Internal.hs+1−1
servant-foreign/src/Servant/Foreign/Internal.hs+1−1
@@ -246,7 +246,7 @@ defReq = Req defUrl "GET" [] Nothing Nothing (FunctionName []) ReqBodyJSON
246246-- >
247247-- > -- Or for example in case of lists
248248-- > 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)
250250--
251251-- Finally to generate list of information about all the endpoints for
252252-- an API you create a function of a form: