On Sunday, 8 March 2015 at 23:05:53 UTC, David Held wrote:
On 3/8/2015 3:55 PM, David Held wrote:
Since DDT (Eclipse plugin) uses Dub, I am trying to convert
the DWT
build instructions into Dub. Here is my current attempt:
{
name : foo,
description : foo,
importPaths : [
Please confirm or deny that this is a real bug, as its getting in
the way of a genuine project. How should I proceed?
I'm working on a 64-bit Windows port of the following.
http://www.cs.arizona.edu/icon/
Here's the 32-bit Windows port.
http://www.cs.arizona.edu/icon/v95w.htm
Among other
On Mon, 09 Mar 2015 14:48:19 +, John Colvin wrote:
Yet another excellent example of why we should abolish the comma
operator in D.
or at least warn about it. producing a warning for such expression will
ring a bell in programmers head: compiler is unhappy. i definitely doing
something
On Friday, 6 March 2015 at 02:41:19 UTC, Bennet wrote:
I wrote a custom OBJ file importer which worked fairly well
however was not robust enough to support everything. I've
decided to give AssImp a shot. I followed some tutorials and
have set up my code to read in the vertices, tex coords,
On Monday, 9 March 2015 at 14:39:34 UTC, Carl Sturtivant wrote:
Please confirm or deny that this is a real bug, as its getting
in the way of a genuine project. How should I proceed?
I'm working on a 64-bit Windows port of the following.
http://www.cs.arizona.edu/icon/
Here's the 32-bit Windows
On Monday, 9 March 2015 at 14:38:41 UTC, Dennis Ritchie wrote:
(1, 2, 3).writeln; // prints 3
that's not an array, use [1,2,3] for that.
What you wrote is a parenthesis expression with comma expressions
inside. The comma operator is a bit weird: it works like a
semicolon, but
Hi.
Why prints only the last element?
import std.stdio;
void main() {
(1, 2, 3).writeln; // prints 3
}
On Monday, 9 March 2015 at 14:38:41 UTC, Dennis Ritchie wrote:
Hi.
Why prints only the last element?
import std.stdio;
void main() {
(1, 2, 3).writeln; // prints 3
}
I think this is a misunderstanding about UFCS.
1.writeln(2, 3);
is the same as
writeln(1, 2, 3);
and the
On Monday, 9 March 2015 at 14:42:35 UTC, Adam D. Ruppe wrote:
On Monday, 9 March 2015 at 14:38:41 UTC, Dennis Ritchie wrote:
(1, 2, 3).writeln; // prints 3
that's not an array, use [1,2,3] for that.
What you wrote is a parenthesis expression with comma
expressions inside. The
On Sunday, 8 March 2015 at 18:18:49 UTC, Carl Sturtivant wrote:
Should I be doing something special with linkage so this works?
What is going on?
IIRC there are some fixes to the Win64 context switching code in
the 2.067 or master druntime. You might want to try those first
before spending
I can reproduce this issue with dmd 2.066.1,
please go forward and open a issue on https://issues.dlang.org/
Kind Regards
Benjamin Thaut
Thank you; will do.
With the newest beta everything seems to work fine.
http://forum.dlang.org/thread/md5kq0$8au$1...@digitalmars.com
On Mon, 09 Mar 2015 13:18:58 -0700, Jonathan M Davis via
Digitalmars-d-learn wrote:
On Monday, March 09, 2015 15:45:58 ketmar via Digitalmars-d-learn wrote:
On Mon, 09 Mar 2015 14:48:19 +, John Colvin wrote:
Yet another excellent example of why we should abolish the comma
operator in
I just became aware of
http://dlang.org/phobos/std_exception.html#.ifThrown . It's neat,
but it seems non-obvious to me how lazy + UFCS should work in
general.
consider
void lazily(T)(lazy T expression)
{
expression();
}
It's clear when saying lazily(a.b().c()); that the whole of
http://forum.dlang.org/thread/md5kq0$8au$1...@digitalmars.com
Got a working build at 64 bits using the 2.067 beta 3.
Delighted.
IIRC there are some fixes to the Win64 context switching code
in the 2.067 or master druntime. You might want to try those
first before spending more time tracking this down.
Great, and thanks.
On Monday, March 09, 2015 15:45:58 ketmar via Digitalmars-d-learn wrote:
On Mon, 09 Mar 2015 14:48:19 +, John Colvin wrote:
Yet another excellent example of why we should abolish the comma
operator in D.
or at least warn about it. producing a warning for such expression will
ring a
On Monday, 9 March 2015 at 17:00:38 UTC, Jacques Müller wrote:
With the newest beta everything seems to work fine.
http://forum.dlang.org/thread/md5kq0$8au$1...@digitalmars.com
That's great news! Thank you.
On Monday, 9 March 2015 at 22:00:46 UTC, ketmar wrote:
i remember that deprecation was rejected. maybe this is false
memory,
though.
btw, there are legit uses of comma, in c-style `for`, for
example. this
should be left intact, i think (oh, can c-style `for` be
deprecated too?!
).
I think
On 03/09/2015 03:03 PM, Logan Capaldo wrote:
I just became aware of
http://dlang.org/phobos/std_exception.html#.ifThrown . It's neat, but it
seems non-obvious to me how lazy + UFCS should work in general.
consider
void lazily(T)(lazy T expression)
{
expression();
}
It's clear when saying
On Sun, 08 Mar 2015 18:57:37 +, Kagamin wrote:
http://dpaste.dzfl.pl/2c8d4a7d9ef0 like this.
i hate annoying beginners too, but not to SUCH extent.
signature.asc
Description: PGP signature
On Sunday, 8 March 2015 at 13:56:37 UTC, Kagamin wrote:
On Sunday, 8 March 2015 at 03:09:00 UTC, zhmt wrote:
Yes, this a good idea, if the author of vibe.d do this, will
be better, it is used frequently in many scenes.
You can do it too, unlike in C++, in D you can write extension
methods to
22 matches
Mail list logo