Skip to content

Commit 9df5195

Browse files
authored
Merge pull request #1463 from sorki/srk/foreignTypo
servant-foreign: fix haddock/example typo
2 parents 48bc247 + 51c8edb commit 9df5195

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
@@ -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:

0 commit comments

Comments
 (0)