Created
October 26, 2011 06:26
-
-
Save anonymous/1315613 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<amalloy> (doc partition) | |
<lazybot> => "([n coll] [n step coll] [n step pad coll]); Returns a | |
lazy sequence of lists of n items each, at offsets step apart. If step | |
is not supplied, defaults to n, i.e. the partitions do not overlap. If | |
a pad collection is supplied, use its elements as necessary to | |
complete last partition upto n items. In case there are not enough | |
padding elements, return a partition with less than n | |
items." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment