Re: Announcement and Request: Typesafe Coordinate Systems for High-Throughput Sequencing Applications

2021-09-01 Thread Arne Ludwig via Digitalmars-d-announce
ntegral!T)`. I enjoyed reading the manuscript. It highlights the issue clearly and presents the solution without getting lost in details. Ignoring typos at this stage, I have no remarks on it – keep going! Cheers! -- Arne

opApply and const

2014-05-08 Thread Arne Ludwig via Digitalmars-d
Hello, when using opApply it seems natural to have two versions: one normal and one const. My problem is that I cannot find a way to describe both versions with one code block. Since there could be a number of basic variants with different numbers of delegate arguments this can lead to

Re: Memory Safety without a GC or Ref Counting

2013-01-21 Thread Arne
On Monday, 21 January 2013 at 17:37:38 UTC, F i L wrote: This isn't really D related, but I usually like the feedback I get from this community, plus, if there's any value in the idea, maybe it would be a worth while discussion for future directions D might make use of. I haven´t found any

Re: directory wildcard

2012-05-19 Thread Arne
On Saturday, 19 May 2012 at 03:46:32 UTC, Jay Norwood wrote: Here is a link to some code for the wildArgv single level search that I'm using. https://github.com/jnorwood/file_utils This is roughly how I was using it, related to your example string[] argv; argv ~=

directory wildcard

2012-05-18 Thread Arne
According to: http://dlang.org/phobos/std_path.html#globMatch it is possible to use wildcards spanning multiple directories. assert (globMatch(`foo/foo\bar`, f*b*r)); But wildcards with dirEntries() seem less powerful. `c:\partial*\path\*.d` If I were to use: absolutePath + filter! +

Re: run-time stack-based allocation

2012-05-07 Thread Arne
On Monday, 7 May 2012 at 16:03:15 UTC, Mehrdad wrote: On Monday, 7 May 2012 at 13:36:02 UTC, Gor Gyolchanyan wrote: Basically I want what alloca does, but instead of considering the constructor's scope, I want it to hand to the constructor call's enclosing scope. I think you'd need to modify

Re: R suffix for reals

2012-05-07 Thread Arne
On Monday, 7 May 2012 at 12:34:26 UTC, Steven Schveighoffer wrote: On Sun, 06 May 2012 21:02:28 -0400, bearophile bearophileh...@lycos.com wrote: Or maybe you initially have written: auto r = 1.1L; And later you want to change the number to 1.0 and you fix it like this: auto r = 1L; Now you

Re: Random D geekout

2012-04-21 Thread Arne
On Friday, 20 April 2012 at 19:00:29 UTC, Nick Sabalausky wrote: Arne a...@linux.nu wrote in message news:qmehxgyksrdxkabvc...@forum.dlang.org... auto dgs = [ name: (string value) {d.name = value; }, phone: (string value) = cast(void)(d.phone = value), age: (string value) = cast(void

Re: Random D geekout

2012-04-20 Thread Arne
On Friday, 20 April 2012 at 11:23:49 UTC, Steven Schveighoffer wrote: On Fri, 20 Apr 2012 00:06:41 -0400, H. S. Teoh hst...@quickfur.ath.cx wrote: The only complaint is that I couldn't write auto[string] dgs and have the compiler auto-infer the delegate type. :-) Does this not work? auto