[Issue 16282] Partial permutation/nextPermutation in std.algorithm

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Jul 19 17:01:21 PDT 2016


https://issues.dlang.org/show_bug.cgi?id=16282

--- Comment #3 from greenify <greeenify at gmail.com> ---
> It looks about how I had envisioned it, but I'm not really
jazzed about the idea of installing an entire mathematics package for a one-off
script I was expecting to take fifteen minutes.

Do you know about the new inline dub header? At least that's the tradeoff I am
taking at the moment.

#!/usr/bin/env dub
/+ dub.sdl:
name "foo"
dependency "mir" version="0.15.3"
+/

In any case I recommend making a bit of fuzz at the NG (forum.dlang.org) as
this thread isn't monitored by many people. D developers are actually quite
responsive to constructive feedback :)

> As for the reasoning, I just figured this was obvious?

Yes, when I needed it I was shocked too and thus wrote the small combinatorics
module :/

--


More information about the Digitalmars-d-bugs mailing list