Skip to content

Commit e74ac0b

Browse files
authored
Clarify replicateM Haddock (#956)
1 parent f61b0c9 commit e74ac0b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

containers/src/Data/Sequence/Internal.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1707,7 +1707,8 @@ replicateA n x
17071707
| otherwise = error "replicateA takes a nonnegative integer argument"
17081708
{-# SPECIALIZE replicateA :: Int -> State a b -> State a (Seq b) #-}
17091709

1710-
-- | 'replicateM' is a sequence counterpart of 'Control.Monad.replicateM'.
1710+
-- | 'replicateM' is the @Seq@ counterpart of
1711+
-- @Control.Monad.'Control.Monad.replicateM'@.
17111712
--
17121713
-- > replicateM n x = sequence (replicate n x)
17131714
--

0 commit comments

Comments
 (0)