Should we add drop to Phobos?

Jonathan M Davis jmdavisProg at gmx.com
Mon Aug 15 16:22:43 PDT 2011


On Saturday, August 13, 2011 23:02 Jonathan M Davis wrote:
[snip]
> So, the question is: Is drop worth having in Phobos? It's common in
> functional languages, and if you want to program in a more functional
> style, it's of enormous benefit. We'll still have popFrontN regardless, so
> the question is whether drop adds enough value to be worth having or
> whether it's just too similar to popFrontN to be worth adding to the
> standard library.
> 
> Personally, I think that drop would be a _very_ useful function to have.
> What do you think?

Does anyone else have an opinion on this? It will be a lot easier to talk 
Andrei into having drop in Phobos if more than just 2 people respond.

- Jonathan M Davis


More information about the Digitalmars-d mailing list