On Tuesday, 7 March 2017 at 02:30:21 UTC, ketmar wrote:
Q. Schroll wrote:
On Tuesday, 7 March 2017 at 01:45:48 UTC, Adam D. Ruppe wrote:
You pass your modified file to the compiler:
dmd yourfile.d format.d
The format.d there can be a copy of the one from phobos (or a
fork or whatever) and s
Q. Schroll wrote:
On Tuesday, 7 March 2017 at 01:45:48 UTC, Adam D. Ruppe wrote:
You pass your modified file to the compiler:
dmd yourfile.d format.d
The format.d there can be a copy of the one from phobos (or a fork or
whatever) and since you passed it explicitly on the command line, it
ta
On Tuesday, 7 March 2017 at 01:45:48 UTC, Adam D. Ruppe wrote:
You pass your modified file to the compiler:
dmd yourfile.d format.d
The format.d there can be a copy of the one from phobos (or a
fork or whatever) and since you passed it explicitly on the
command line, it takes precedence over
On Tuesday, 7 March 2017 at 01:14:28 UTC, Q. Schroll wrote:
I have a fork of the standard-library in the folder "phobos".
In version 2.072.1 of the compiler, I could use code like
void main()
{
import phobos.std.format;
That should never have worked unless you changed the modu
I have a fork of the standard-library in the folder "phobos". In
version 2.072.1 of the compiler, I could use code like
void main()
{
import phobos.std.format;
/* code for checking my changes to format */
}
compiled with
$ dmd -I"phobos" test_format.d
in the pare
On 2017-03-06 17:27, Deech wrote:
I was thinking something on the order of Scala's pattern matching using
apply/unapply methods. http://www.artima.com/pins1ed/extractors.html.
That should be possible. Although not as a macro and not with the same
nice syntax. Something like this should be pos
On Monday, 6 March 2017 at 08:27:13 UTC, David Nadlinger wrote:
On Monday, 6 March 2017 at 02:20:02 UTC, Deech wrote:
[…] add pattern matching to the language as a macro.
D doesn't have macros per se. However, template metaprogramming
and mixins can replace them in many cases.
Which particu
On Sunday, 15 May 2016 at 12:30:03 UTC, Stiff wrote:
On Sunday, 15 May 2016 at 08:31:17 UTC, 9il wrote:
On Saturday, 14 May 2016 at 21:59:48 UTC, Stiff wrote:
Here's the code that doesn't compile:
import std.stdio, std.experimental.ndslice, std.range,
std.algorithm;
[...]
Coming soon
htt
On 06/03/2017 11:29, rikki cattermole wrote:
> On 06/03/2017 11:25 PM, Christian Köstlin wrote:
>> Hi,
>>
>> I have a small dub-based application project with several modules (it's
>> not a vibe.d project). I can easily create ddocs for the modules by
>> running dub build --build=docs.
>>
>> I am m
On Monday, 6 March 2017 at 08:26:53 UTC, Eugene Wissner wrote:
The memory management in D is becoming a mess.
I am aware this is a hot topic, hence the opening joke. But I
just want to learn what toolboxes are currently available, not
really discuss how adequate they are, or how often GC is a
On 06/03/2017 11:25 PM, Christian Köstlin wrote:
Hi,
I have a small dub-based application project with several modules (it's
not a vibe.d project). I can easily create ddocs for the modules by
running dub build --build=docs.
I am missing at the moment a page, that shows the contents of the whol
Hi,
I have a small dub-based application project with several modules (it's
not a vibe.d project). I can easily create ddocs for the modules by
running dub build --build=docs.
I am missing at the moment a page, that shows the contents of the whole
package. Did I miss something here?
Best regards
On Monday, 6 March 2017 at 02:20:02 UTC, Deech wrote:
[…] add pattern matching to the language as a macro.
D doesn't have macros per se. However, template metaprogramming
and mixins can replace them in many cases.
Which particular form of pattern matching do you have in mind?
You won't get
On Sunday, 5 March 2017 at 20:54:06 UTC, XavierAP wrote:
I was going to name this thread "SEX!!" but then I thought
"best memory management" would get me more reads ;) Anyway now
that I have your attention...
What I want to learn (not debate) is the currently available
types, idioms etc. whenev
On Friday, 3 March 2017 at 18:09:02 UTC, Jonathan M. Wilbur wrote:
I have tried to come up with a good way to get the mantissa,
exponent, and base from a real number, and I just can't come up
with a good cross-platform way of doing it. I know about
std.math.frexp(), but that function only gives
15 matches
Mail list logo