Where should I put a `condp` like function?
Idan Arye
GenericNPC at gmail.com
Mon Apr 15 19:39:02 PDT 2013
On Monday, 15 April 2013 at 18:02:14 UTC, 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.
>
> You can always just pick a spot, make a pull request, and if
> there's
> a better place then people can just say so in the pull request's
> discussion and then you can move it.
Good idea. It's not really an algorithm - but then again, many of
the things in std.algorithm are not really algorithms, and could
be easy fit to a separate module, called std.monad.
Ofcourse, I do not suggest to split std.algorithm to
std.algorithm and std.monad - that would break too much code...
More information about the Digitalmars-d
mailing list