Article: Writing Julia style multiple dispatch code in D
jmh530 via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Sat Aug 26 13:52:03 PDT 2017
On Saturday, 26 August 2017 at 02:14:59 UTC, data pulverizer
wrote:
> On Friday, 25 August 2017 at 20:54:05 UTC, jmh530 wrote:
>> See below. I haven't implemented the random variables yet, but
>> otherwise it seems to be working well. There is some
>> trickiness with deprecated stuff that I had to hard code, but
>> other than that it's pretty generic. Also, I think it is
>> ignoring my check to only include public/export stuff. Not
>> sure why that is.
>>
>> module distribAlt;
>> ...
>
> Wow, I didn't realise that you'd go off and work on it. You
> need to start a package for it! I'll bookmark this one as a
> little reminder of mixin techniques.
Something I had wanted for a long time and once your article got
my juices flowing. I had a hard time stopping once you got me
started!
I'm going to try to add support for the random number generators
and then create a PR for dstats.
More information about the Digitalmars-d-announce
mailing list