Where should I put a `condp` like function?

Nick Sabalausky SeeWebsiteToContactMe at semitwist.com
Mon Apr 15 11:29:41 PDT 2013


On Mon, 15 Apr 2013 11:05:05 -0700
"H. S. Teoh" <hsteoh at quickfur.ath.cx> wrote:

> On Mon, Apr 15, 2013 at 02:01:28PM -0400, Nick Sabalausky wrote:
> > On Mon, 15 Apr 2013 01:52:33 +0200
> > "Idan Arye" <GenericNPC at gmail.com> wrote:
> > > but I don't really know 
> > > where to put it. None of the existing modules seems fit, and I 
> > > don't want to open a new module(std.monad?) for a single function.
> > > 
> > > Any suggestions?
> > 
> > I'm not a Phobos dev, but I think std.algorithm would be the right
> > place.
> [...]
> 
> Hmm. What about std.functional? It seems to fall into the category of
> stuff that lets/helps you write functional-style D code.
> 

Yea, but the same is true for a lot of std.algorithm. Besides, despite
the name, std.functional appears to mostly just be the place for the
tools to use the old string literal style lambdas.



More information about the Digitalmars-d mailing list