Add 2-arity version of `cycle` that takes the numer of times to "repeat" the coll

Description

There are already similar arities for repeat/repeatedly and similar functions, this patch adds a 2-arity version of cycle that behaves like this:

Environment

None

Attachments

1

Activity

Show:

Nicola Mometto August 6, 2014 at 8:36 PM

Updated patch to apply to HEAD

Andy Fingerhut August 6, 2014 at 8:19 PM

Patch 0001-Add-2-arity-version-of-cycle-that-takes-the-number-o.patch dated Apr 28 2014 no longer applies cleanly to latest Clojure master due to some changes committed earlier today. This appears trivial to update, as it is likely only a couple of lines of diff context that have changed.

Details

Assignee

Reporter

Patch

Code

Priority

Created April 28, 2014 at 11:07 PM
Updated May 15, 2017 at 10:26 PM