std.compress

H. S. Teoh hsteoh at quickfur.ath.cx
Wed Jun 5 12:48:08 PDT 2013


On Wed, Jun 05, 2013 at 12:47:44PM -0700, Brad Roberts wrote:
> On 6/5/13 12:34 PM, Andrei Alexandrescu wrote:
> >On 6/5/13 2:26 PM, Brad Anderson wrote:
> >>On Wednesday, 5 June 2013 at 17:36:05 UTC, Andrei Alexandrescu wrote:
> >>>Right now we have joiner(), which given several ranges of T, offers a
> >>>range of T. Developing along that idea, we should have two opposite
> >>>functions: itemize() and collect().
> >>
> >>collect() is sometimes used as the name for map() in some languages
> >>(e.g., Ruby, Smalltalk). I don't think it's a problem but maybe a note
> >>in the documentation would be warranted to point people to map.
> >>Alternatively it could be called something like bundle or parcel.
> >
> >Love bundle/parcel! Probably bundle more because it's more obvious
> >it's a verb.
> >
> >Andrei
> 
> Well, both bundle and parcel can be both nouns and verbs.

"Verbing weirds language." -- Calvin & Hobbes.

:-P


T

-- 
Beware of bugs in the above code; I have only proved it correct, not tried it. -- Donald Knuth


More information about the Digitalmars-d mailing list