We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9d1e69 commit 121df4aCopy full SHA for 121df4a
Data/Sequence/Internal.hs
@@ -1426,9 +1426,9 @@ replicateM n x
1426
--
1427
-- prop> cycleTaking k = fromList . take k . cycle . toList
1428
1429
--- If you wish to concatenate a non-empty sequence @xs@ with itself precisely
1430
--- @k@ times, you can use @cycleTaking (k * length xs)@ or just
1431
--- @replicate k () *> xs@.
+-- If you wish to concatenate a possibly empty sequence @xs@ with
+-- itself precisely @k@ times, use @'stimes' k xs@ instead of this
+-- function.
1432
1433
-- @since 0.5.8
1434
cycleTaking :: Int -> Seq a -> Seq a
0 commit comments