[Git][ghc/ghc][master] GHC.Internal.Control.Monad.replicateM: Fix comment
Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC Commits: b820ff50 by Janis Voigtlaender at 2026-01-05T02:43:18-05:00 GHC.Internal.Control.Monad.replicateM: Fix comment - - - - - 1 changed file: - libraries/ghc-internal/src/GHC/Internal/Control/Monad.hs Changes: ===================================== libraries/ghc-internal/src/GHC/Internal/Control/Monad.hs ===================================== @@ -314,7 +314,7 @@ Core: https://gitlab.haskell.org/ghc/ghc/issues/11795#note_118976 -- | @'replicateM' n act@ performs the action @act@ @n@ times, -- and then returns the list of results. -- --- @replicateM n (pure x) == 'replicate' n x@ +-- @replicateM n (pure x) == pure ('replicate' n x)@ -- -- ==== __Examples__ -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/b820ff50459fc48bce6db3af652c2e55... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/b820ff50459fc48bce6db3af652c2e55... You're receiving this email because of your account on gitlab.haskell.org.
participants (1)
-
Marge Bot (@marge-bot)