On Saturday, 10 August 2013 at 01:33:58 UTC, Dicebot wrote:
`foreach_reverse` is a major design mistake considering the
fact that it requires a very specific range type, contrary to
normal range. For lot of ranges concept of iteration order is
simply not defined making `foreach_reverse` useless
On Monday, 29 July 2013 at 13:23:23 UTC, JS wrote:
Sometimes it's nice to be able to have groups of variadic
parameters:
template t(T1..., T2...)
...
t!(a, b, c; d, e, f);
so that a,b,c are for T1 and d,e,f are for T2.
This can be done by making a symbol and breaking up a single
variadic b
Missing an int before foo_ there.
To add to the mess - or maybe suggest a new approach, what about:
class A
{
int foo();
void foo=(int a);
private foo_;
}
Then a.foo = 42; calls the foo= method. No other conversions from
a=b to a method invocation.
It may be suggested in one of these 46 pages which I haven't
read
On 08/10/13 12:19, John Colvin wrote:
> On Monday, 29 July 2013 at 13:23:23 UTC, JS wrote:
>> Sometimes it's nice to be able to have groups of variadic parameters:
>>
>> template t(T1..., T2...)
>>
>> ...
>>
>> t!(a, b, c; d, e, f);
>>
>> so that a,b,c are for T1 and d,e,f are for T2.
>>
>> This ca
On Thursday, 24 January 2013 at 08:35:01 UTC, Walter Bright wrote:
This has turned into a monster. We've taken 2 or 3 wrong turns
somewhere.
Perhaps we should revert to a simple set of rules.
Here is my mindless proposal after reading some of the posts.
1. Properties are data. Cannot be c
On Saturday, 10 August 2013 at 10:19:34 UTC, John Colvin wrote:
On Monday, 29 July 2013 at 13:23:23 UTC, JS wrote:
Sometimes it's nice to be able to have groups of variadic
parameters:
template t(T1..., T2...)
...
t!(a, b, c; d, e, f);
so that a,b,c are for T1 and d,e,f are for T2.
This ca
e.g.,
interface A
{
static T A(T)() { ... }
}
can be used as A!T instead of A.A!T. Same for classes and
structs. If you want a use case I'm not going to stop you from
coming up with one... so feel free.
Better late than never (the last couple weeks have been very
busy):
On Tuesday, 23 July 2013 at 21:00:08 UTC, Walter Bright wrote:
It's true that they are based on HTML output. However, and this
is a big however, they need significantly different HTML output
than one puts on a web site. This i
On 8/10/13, JS wrote:
> e.g.,
>
> interface A
> {
> static T A(T)() { ... }
> }
>
> can be used as A!T instead of A.A!T. Same for classes and
> structs.
interface A(T)
{
}
On 9 August 2013 22:13, Andrej Mitrovic wrote:
> On 8/9/13, Iain Buclaw wrote:
>> Excellent, this is a regression from around 11 months ago was the last
>> time this sort of code worked. :o)
>
> I can't get any compiler version to work with this code. Tried 2.050
> all the way up to git-head.
Hm
Just had someone respond to a thread in D.gnu complaining that
there had been no response for 15 days. And if you look at the
thread from forum.dlang.org, it would appear to be the case,
however there were a few other responses that seem to have been
lost.
Here's another example:
http://for
On 10 August 2013 13:27, JS wrote:
> On Thursday, 24 January 2013 at 08:35:01 UTC, Walter Bright wrote:
>>
>> This has turned into a monster. We've taken 2 or 3 wrong turns somewhere.
>>
>> Perhaps we should revert to a simple set of rules.
>>
>
>
> Here is my mindless proposal after reading some
On Saturday, 10 August 2013 at 15:21:42 UTC, Iain Buclaw wrote:
Just had someone respond to a thread in D.gnu complaining that
there had been no response for 15 days. And if you look at the
thread from forum.dlang.org, it would appear to be the case,
however there were a few other responses th
On 08/10/2013 08:21 AM, Iain Buclaw wrote:
> http://forum.dlang.org/post/ku3odb$bpe$1...@digitalmars.com
>
> At a first glance, it looks like there's only two posts in that thread,
> but looking in my inbox, there's actually seven...
For that thread, my Thunderbird inbox matches http://forum.dla
I have built and installed GtkD from master/HEAD of a clone of the Git
repository. At least I hope it is successful!
A simple hello world in a label application is the trial. Sadly I get
pages and pages of linker errors. Is there a canonical command line to
build a single file applications that so
On Sat, 10 Aug 2013 08:40:45 -0700
Ali Çehreli wrote:
> On 08/10/2013 08:21 AM, Iain Buclaw wrote:
>
> > http://forum.dlang.org/post/ku3odb$bpe$1...@digitalmars.com
> >
> > At a first glance, it looks like there's only two posts in that
> > thread, but looking in my inbox, there's actually s
On 08/10/2013 08:42 AM, artur wrote:
> Apparently, posts from the mailing lists are not making it to the
> web i/f; the other direction seems to work.
It looks to be the reverse for that sample thread: My response to Iain
was posted from Thunderbird. (I don't use the forum interface.)
Ali
On 08/10/13 17:52, Ali Çehreli wrote:
> On 08/10/2013 08:42 AM, artur wrote:
>
>> Apparently, posts from the mailing lists are not making it to the
>> web i/f; the other direction seems to work.
>
> It looks to be the reverse for that sample thread: My response to Iain was
> posted from Thunderb
On Saturday, 10 August 2013 at 10:29:51 UTC, Stian Pedersen wrote:
To add to the mess - or maybe suggest a new approach, what
about:
class A
{
int foo();
void foo=(int a);
private foo_;
}
Then a.foo = 42; calls the foo= method. No other conversions
from a=b to a method invocation.
On 10 August 2013 16:52, Ali Çehreli wrote:
> On 08/10/2013 08:42 AM, artur wrote:
>
>> Apparently, posts from the mailing lists are not making it to the
>> web i/f; the other direction seems to work.
>
> It looks to be the reverse for that sample thread: My response to Iain was
> posted from Thun
On 2013-08-10, 14:58, JS wrote:
e.g.,
interface A
{
static T A(T)() { ... }
}
can be used as A!T instead of A.A!T. Same for classes and structs. If
you want a use case I'm not going to stop you from coming up with one...
so feel free.
Tried with DMD 2.063.2, and I'm unable to make A
On Sat, Aug 10, 2013 at 05:31:39PM +0100, Iain Buclaw wrote:
> On 10 August 2013 16:52, Ali Çehreli wrote:
> > On 08/10/2013 08:42 AM, artur wrote:
> >
> >> Apparently, posts from the mailing lists are not making it to the
> >> web i/f; the other direction seems to work.
> >
> > It looks to be the
On Saturday, 10 August 2013 at 12:40:55 UTC, JS wrote:
On Saturday, 10 August 2013 at 10:19:34 UTC, John Colvin wrote:
On Monday, 29 July 2013 at 13:23:23 UTC, JS wrote:
Sometimes it's nice to be able to have groups of variadic
parameters:
template t(T1..., T2...)
...
t!(a, b, c; d, e, f);
Am Sat, 10 Aug 2013 17:42:50 +0200
schrieb "artur" :
> On Saturday, 10 August 2013 at 15:21:42 UTC, Iain Buclaw wrote:
> > Just had someone respond to a thread in D.gnu complaining that
> > there had been no response for 15 days. And if you look at the
> > thread from forum.dlang.org, it would
On Sunday, 14 July 2013 at 04:56:46 UTC, Val Markovic wrote:
So, Andrei also mentioned how the community needs to improve the
dlang.orgsite and make it a first-class priority. It's the
point of
contact for
newcomers so it's very important we get it right. Since I know a
thing-or-two about web
On Saturday, 10 August 2013 at 10:29:51 UTC, Stian Pedersen wrote:
To add to the mess - or maybe suggest a new approach, what
about:
class A
{
int foo();
void foo=(int a);
private foo_;
}
Then a.foo = 42; calls the foo= method. No other conversions
from a=b to a method invocation.
On Saturday, 10 August 2013 at 17:48:34 UTC, BLM768 wrote:
On Saturday, 10 August 2013 at 10:29:51 UTC, Stian Pedersen
wrote:
To add to the mess - or maybe suggest a new approach, what
about:
class A
{
int foo();
void foo=(int a);
private foo_;
}
Then a.foo = 42; calls the foo= metho
On Saturday, 10 August 2013 at 17:08:57 UTC, John Colvin wrote:
On Saturday, 10 August 2013 at 12:40:55 UTC, JS wrote:
On Saturday, 10 August 2013 at 10:19:34 UTC, John Colvin wrote:
On Monday, 29 July 2013 at 13:23:23 UTC, JS wrote:
Sometimes it's nice to be able to have groups of variadic
pa
On Saturday, 10 August 2013 at 17:29:40 UTC, Ruslan Mullakhmetov
wrote:
(2) Flashing and slow responses are annoying but not so crucial
(as from my experience), thought somebody waits for up to 7
seconds to load web page - agree, that should be fixed, but
again, i do not have such problem or di
alias T = Tuple!(int, int);
alias Ts = Tuple!(T, T);
template A(S0..., S1...)
{
alias s0 = S0;
alias s1 = S1;
}
A!(Ts.init).s0 a;
so
alias T = Tuple!(int, int);
alias Ts = TupleSC!(T, T);
then Ts == ((int, int); (int, int))
and
alias T = TupleSC!(int, int);
alias Ts = Tup
Although it took longer than I expected to get around to it, I'm
working on a release-generator tool for DMD. I'm finding that a very
significant amount of the effort involved (much more than I expected)
is discovering and dealing with all the fun little differences between
the posix and win32 make
Did you try to search for the missing post?
mailman screws thread structure and message may end up in another
thread.
On Saturday, 10 August 2013 at 18:28:07 UTC, H. S. Teoh wrote:
It's really quite simple once you understand the motivation
behind it...
This seems like it would be a good topic for another article.
May be it can even retain messages for itself - for exclusive use
by mailing list subscribers.
On Saturday, 10 August 2013 at 18:28:32 UTC, H. S. Teoh wrote:
...
T
Perhaps there's a forum bug here. I was not in this broken piece
of therad.
Bye,
bearophile
On Saturday, 10 August 2013 at 18:28:31 UTC, H. S. Teoh wrote:
On Thu, Aug 08, 2013 at 08:46:15PM +0200, Borislav Kosharov
wrote:
On Thursday, 8 August 2013 at 16:05:56 UTC, Nick Sabalausky
wrote:
>On Thu, 08 Aug 2013 17:20:16 +0200
>"Borislav Kosharov" wrote:
>
>>On Thursday, 8 August 2013 at
Applications using a third-party library are not single-file
applications: they need that library too.
On 08/10/2013 09:31 AM, Iain Buclaw wrote:
> looks like Ali won't receive this message, and I
> don't expect this message to show on the forum interface either...
Luckily, you are wrong. :) Both Thunderbird and the web interface
received both your and Artur Skawina's messages.
I think the pro
On Saturday, 10 August 2013 at 18:28:41 UTC, Simen Kjaeraas wrote:
On 2013-08-10, 14:58, JS wrote:
e.g.,
interface A
{
static T A(T)() { ... }
}
can be used as A!T instead of A.A!T. Same for classes and
structs. If you want a use case I'm not going to stop you from
coming up with one...
On Sat, Aug 10, 2013 at 08:44:06PM +0200, Meta wrote:
> On Saturday, 10 August 2013 at 18:28:07 UTC, H. S. Teoh wrote:
> >It's really quite simple once you understand the motivation behind
> >it...
>
> This seems like it would be a good topic for another article.
:)
But there's already one: http
On Sat, Aug 10, 2013 at 09:09:17PM +0200, bearophile wrote:
> On Saturday, 10 August 2013 at 18:28:32 UTC, H. S. Teoh wrote:
> >...
> >T
>
> Perhaps there's a forum bug here. I was not in this broken piece of
> therad.
[...]
You snipped too much of the context, so I've no idea what you're talking
On Sat, Aug 10, 2013 at 09:18:42PM +0200, Borislav Kosharov wrote:
> On Saturday, 10 August 2013 at 18:28:31 UTC, H. S. Teoh wrote:
> >On Thu, Aug 08, 2013 at 08:46:15PM +0200, Borislav Kosharov wrote:
> >>On Thursday, 8 August 2013 at 16:05:56 UTC, Nick Sabalausky
> >>wrote:
> >>>On Thu, 08 Aug 20
On Saturday, 10 August 2013 at 18:22:53 UTC, Brad Anderson wrote:
On Saturday, 10 August 2013 at 17:29:40 UTC, Ruslan
Mullakhmetov wrote:
(2) Flashing and slow responses are annoying but not so
crucial (as from my experience), thought somebody waits for up
to 7 seconds to load web page - agree,
On Thursday, 24 January 2013 at 08:35:01 UTC, Walter Bright wrote:
This has turned into a monster. We've taken 2 or 3 wrong turns
somewhere.
My 2 cents on this, very late in the day. Sorry for the essay,
hopefully it'll be worth your time.
No fancy new ideas, but I *think* I have a nice solu
On 08/10/2013 05:46 PM, Russel Winder wrote:
I have built and installed GtkD from master/HEAD of a clone of the Git
repository. At least I hope it is successful!
A simple hello world in a label application is the trial. Sadly I get
pages and pages of linker errors. Is there a canonical command l
On 08/10/2013 04:32 PM, Kapps wrote:
The documentation is still almost unusable for me. If I load a tab to
view any documentation (example link:
http://dlang.org/phobos/object.html#.RTInfo) it will literally freeze
Firefox (26, Nightly, happened with 25 and previous versions as well)
completely
On Sat, Aug 10, 2013 at 05:59:08PM -0400, Jeff Nowakowski wrote:
> On 08/10/2013 04:32 PM, Kapps wrote:
> >
> >The documentation is still almost unusable for me. If I load a tab to
> >view any documentation (example link:
> >http://dlang.org/phobos/object.html#.RTInfo) it will literally freeze
> >F
On 08/10/2013 10:10 PM, JS wrote:
...
This is simply generalizing eponymous templates to interfaces, classes,
structs, etc.
http://i.imgur.com/u29r8pH.jpg
On 8/10/2013 6:06 AM, Borden wrote:
Therefore, regardless of how irrational your customers are, there is often a
benefit to giving them what they want.
Rarely do all customers want the same thing.
On 10 August 2013 21:11, Ali Çehreli wrote:
> On 08/10/2013 09:31 AM, Iain Buclaw wrote:
>
>> looks like Ali won't receive this message, and I
>> don't expect this message to show on the forum interface either...
>
> Luckily, you are wrong. :) Both Thunderbird and the web interface received
> both
On 10 August 2013 21:11, Ali Çehreli wrote:
> On 08/10/2013 09:31 AM, Iain Buclaw wrote:
>
>> looks like Ali won't receive this message, and I
>> don't expect this message to show on the forum interface either...
>
> Luckily, you are wrong. :) Both Thunderbird and the web interface received
> both
On 10 August 2013 18:12, Johannes Pfau wrote:
> Am Sat, 10 Aug 2013 17:42:50 +0200
> schrieb "artur" :
>
>> On Saturday, 10 August 2013 at 15:21:42 UTC, Iain Buclaw wrote:
>> > Just had someone respond to a thread in D.gnu complaining that
>> > there had been no response for 15 days. And if you l
On Saturday, August 10, 2013 17:31:39 Iain Buclaw wrote:
> On 10 August 2013 16:52, Ali Çehreli wrote:
> > On 08/10/2013 08:42 AM, artur wrote:
> >> Apparently, posts from the mailing lists are not making it to the
> >> web i/f; the other direction seems to work.
> >
> > It looks to be the revers
On Saturday, August 10, 2013 14:35:04 Nick Sabalausky wrote:
> Is this something that would be acceptable, or does building DMD for
> Windows need to stay as DM make?
I don't see any problem with it, but that doesn't mean that Walter won't.
Another suggestion that I kind of liked was to just buil
08-Aug-2013 21:30, H. S. Teoh пишет:
After the latest Phobos update, I can't run the Phobos unittests
anymore; std.algorithm runs out of memory.
What do you guys think?
+1
If the package feature is ready I think the problem should be fairly
pull request friendly barring the usual 100-post de
On Sat, 10 Aug 2013 16:21:45 -0700
Jonathan M Davis wrote:
>
> Another suggestion that I kind of liked was to just build them all
> with a single script written in D and ditch make entirely, which
> would seriously reduce the amount of duplication across platforms.
> But that's obviously a much b
On Sat, Aug 10, 2013 at 04:21:45PM -0700, Jonathan M Davis wrote:
> On Saturday, August 10, 2013 14:35:04 Nick Sabalausky wrote:
> > Is this something that would be acceptable, or does building DMD for
> > Windows need to stay as DM make?
>
> I don't see any problem with it, but that doesn't mean
On Saturday, August 10, 2013 20:06:32 Nick Sabalausky wrote:
> On Sat, 10 Aug 2013 16:21:45 -0700
>
> Jonathan M Davis wrote:
> > Another suggestion that I kind of liked was to just build them all
> > with a single script written in D and ditch make entirely, which
> > would seriously reduce the
On Saturday, August 10, 2013 17:14:35 H. S. Teoh wrote:
> On Sat, Aug 10, 2013 at 04:21:45PM -0700, Jonathan M Davis wrote:
> > On Saturday, August 10, 2013 14:35:04 Nick Sabalausky wrote:
> > > Is this something that would be acceptable, or does building DMD for
> > > Windows need to stay as DM ma
On Sunday, 11 August 2013 at 00:31:30 UTC, Meta wrote:
Humm, don't know how I missed that. I think somebody linked
this a few days ago in a different thread, too.
No, it was in this very thread and I just forgot about it.
On Saturday, 10 August 2013 at 20:23:38 UTC, H. S. Teoh wrote:
But there's already one:
http://klickverbot.at/blog/2012/05/purity-in-d/
Humm, don't know how I missed that. I think somebody linked this
a few days ago in a different thread, too.
On Sat, 10 Aug 2013 17:14:35 -0700
"H. S. Teoh" wrote:
>
> I'm all for ditching make. What about this:
>
> - We write a small D app that automatically scans all dependencies and
> generates a shell script / .BAT file / whatever the target platform
> uses, that contains compile commands that
On Sat, 10 Aug 2013 17:23:08 -0700
Jonathan M Davis wrote:
> On Saturday, August 10, 2013 17:14:35 H. S. Teoh wrote:
> > On Sat, Aug 10, 2013 at 04:21:45PM -0700, Jonathan M Davis wrote:
> > > On Saturday, August 10, 2013 14:35:04 Nick Sabalausky wrote:
> > > > Is this something that would be acc
On Saturday, 10 August 2013 at 22:17:11 UTC, Timon Gehr wrote:
On 08/10/2013 10:10 PM, JS wrote:
...
This is simply generalizing eponymous templates to interfaces,
classes,
structs, etc.
http://i.imgur.com/u29r8pH.jpg
Too bad for you... I already did a few days ago!
On 11 August 2013 00:16, Jonathan M Davis wrote:
> On Saturday, August 10, 2013 17:31:39 Iain Buclaw wrote:
>> On 10 August 2013 16:52, Ali Çehreli wrote:
>> > On 08/10/2013 08:42 AM, artur wrote:
>> >> Apparently, posts from the mailing lists are not making it to the
>> >> web i/f; the other dir
On Sunday, August 11, 2013 02:25:33 Iain Buclaw wrote:
> On 11 August 2013 00:16, Jonathan M Davis wrote:
> > On Saturday, August 10, 2013 17:31:39 Iain Buclaw wrote:
> >> On 10 August 2013 16:52, Ali Çehreli wrote:
> >> > On 08/10/2013 08:42 AM, artur wrote:
> >> >> Apparently, posts from the ma
On Saturday, 10 August 2013 at 18:28:39 UTC, Artur Skawina wrote:
On 08/10/13 12:19, John Colvin wrote:
On Monday, 29 July 2013 at 13:23:23 UTC, JS wrote:
Sometimes it's nice to be able to have groups of variadic
parameters:
template t(T1..., T2...)
...
t!(a, b, c; d, e, f);
so that a,b,c
Guys, stop feeding the stupid troll now. He is not worth anyone's time.
On Sunday, 11 August 2013 at 03:14:46 UTC, Timon Gehr wrote:
Guys, stop feeding the stupid troll now. He is not worth
anyone's time.
Yeah, who's the troll? Variadic grouping is useless says the
troll.
Can we get the version of implementation/addition of a feature in
the docs. e.g., if X feature/method/library is added into dmd
version v, then the docs should display that feature.
For example, when I go to http://dlang.org/phobos/object.html I
see tsize. When I try to use it on my class I dm
On Wed, 7 Aug 2013 10:06:19 -0700
"H. S. Teoh" wrote:
> On Wed, Aug 07, 2013 at 12:55:10PM -0400, Nick Sabalausky wrote:
>
> > If it were up to me, args[0] would be eliminated outright.
>
> Naw, there are some valid use cases for it. Take a look at busybox,
> for example. :)
>
Hmm, interestin
On Sun, 11 Aug 2013 00:45:43 -0400
Nick Sabalausky wrote:
> On Wed, 7 Aug 2013 10:06:19 -0700
> "H. S. Teoh" wrote:
>
> > On Wed, Aug 07, 2013 at 12:55:10PM -0400, Nick Sabalausky wrote:
> >
> > > If it were up to me, args[0] would be eliminated outright.
> >
> > Naw, there are some valid use
On 8/10/2013 4:21 PM, Jonathan M Davis wrote:
On Saturday, August 10, 2013 14:35:04 Nick Sabalausky wrote:
Is this something that would be acceptable, or does building DMD for
Windows need to stay as DM make?
I don't see any problem with it, but that doesn't mean that Walter won't.
Tools bui
On Sunday, 11 August 2013 at 05:48:19 UTC, Walter Bright wrote:
On 8/10/2013 4:21 PM, Jonathan M Davis wrote:
On Saturday, August 10, 2013 14:35:04 Nick Sabalausky wrote:
Is this something that would be acceptable, or does building
DMD for
Windows need to stay as DM make?
I don't see any pro
75 matches
Mail list logo