Skip to content
Prev 5870 / 21307 Next

[Bioc-devel] GenomicFiles reducer and iterate argument

On 06/15/2014 07:34 AM, Michael Lawrence wrote:
My 'rationale' was that one would choose iterate=FALSE when one required all 
elements to perform the reduction. I thought of the list (rather than ...) as 
the general R data structure for representing N elements, with a special case 
(consistent with Reduce) made for the pairwise reduction of iterate=TRUE. Either 
way, the two cases (x, y vs. list(), x, y vs. ...) seem to require some 
explaining to the user. Is there a clear better choice? You're the second person 
to trip over this, so I guess there's a crack in the sidewalk...

Martin