[Git][ghc/ghc][master] No haddock markup in doctest line
Marge Bot (@marge-bot)
gitlab at gitlab.haskell.org
Fri Nov 1 22:12:38 UTC 2024
Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC
Commits:
778ac793 by Kazuki Okamoto at 2024-11-01T18:12:13-04:00
No haddock markup in doctest line
- - - - -
1 changed file:
- libraries/ghc-internal/src/GHC/Internal/List.hs
Changes:
=====================================
libraries/ghc-internal/src/GHC/Internal/List.hs
=====================================
@@ -1619,7 +1619,7 @@ lookup key ((x,y):xys)
-- >>> concatMap (\i -> [-i, i]) [1, 2, 3]
-- [-1,1,-2,2,-3,3]
--
--- >>> concatMap ('replicate' 3) [0, 2, 4]
+-- >>> concatMap (replicate 3) [0, 2, 4]
-- [0,0,0,2,2,2,4,4,4]
concatMap :: (a -> [b]) -> [a] -> [b]
concatMap f = foldr ((++) . f) []
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/778ac793289934eb89f904cee4b8d4162b0539fa
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/778ac793289934eb89f904cee4b8d4162b0539fa
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20241101/d60e1190/attachment.html>
More information about the ghc-commits
mailing list