Skip to content

Commit 51c8edb

Browse files
committed
servant-foreign: fix haddock/example typo
1 parent 19ec395 commit 51c8edb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

servant-foreign/src/Servant/Foreign/Internal.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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:

0 commit comments

Comments
 (0)