On Monday, 15 April 2013 at 18:02:14 UTC, Nick Sabalausky wrote:
On Mon, 15 Apr 2013 01:52:33 +0200
"Idan Arye" <generic...@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...

Reply via email to