Andrej Mitrovic Wrote:
> Does anyone know if there's any way I can get special highlighting for
> lambda functions in say, Vim? It gets hard to distinguish between
> regular parameters and one-liner lambdas, if I could change the
> background color of a lambda it could really help out..
Off the t
Does anyone know if there's any way I can get special highlighting for
lambda functions in say, Vim? It gets hard to distinguish between
regular parameters and one-liner lambdas, if I could change the
background color of a lambda it could really help out..
On 12/13/10, Andrej Mitrovic wrote:
> On
On 12/13/10, Steven Schveighoffer wrote:
> does this work?
>
Yes, ty. But I think there's a typo in std.algorithm.remove:
Range remove(alias pred, SwapStrategy s = SwapStrategy.stable,
Range)(Range range);
Reduces the length of the bidirectional range range by only
keeping elements that sati
On Sun, 12 Dec 2010 20:43:12 -0500
"Andrej M." wrote:
> I can't seem to find an easy remove method in std.algorithm that takes an
> object and a range (an array in this case) and removes any matches from the
> range. I'm using this snippet for now:
>
> private DrawingElement[] elements;
>
> p
On Sun, 12 Dec 2010 20:43:12 -0500, Andrej M. wrote:
I can't seem to find an easy remove method in std.algorithm that takes
an object and a range (an array in this case) and removes any matches
from the range. I'm using this snippet for now:
private DrawingElement[] elements;
public overr
Jonathan M Davis:
> They're both based on C++ (though C# is also heavily based on Java which is
> based on C++). D probably does take some features from C# (such as
> delegates),
> but D has taken features from a number of different languages. I doubt that
> anything in C# is based on anything
On 12/13/10, Matthias Walter wrote:
> On 12/12/2010 08:43 PM, Andrej M. wrote:
>> I can't seem to find an easy remove method in std.algorithm that takes an
>> object and a range (an array in this case) and removes any matches from
>> the range. I'm using this snippet for now:
>>
>> private Drawing
On 12/12/2010 08:43 PM, Andrej M. wrote:
> I can't seem to find an easy remove method in std.algorithm that takes an
> object and a range (an array in this case) and removes any matches from the
> range. I'm using this snippet for now:
>
> private DrawingElement[] elements;
>
> public override vo
On Sunday 12 December 2010 18:35:38 Andrej Mitrovic wrote:
> On a side note I have to admit I've never programmed in C# before, but
> I don't seem to have much trouble understanding it. From the looks of
> it, the two languages borrow a lot from each other, and have very
> similar syntax.
They're
On a side note I have to admit I've never programmed in C# before, but
I don't seem to have much trouble understanding it. From the looks of
it, the two languages borrow a lot from each other, and have very
similar syntax.
On 12/13/10, Andrej Mitrovic wrote:
> On 12/13/10, Jonathan M Davis wrote
On 12/13/10, Jonathan M Davis wrote:
> I created an enhancement request for it: http://is.gd/iDSqj
>
> - Jonathan M Davis
>
Thanks!
On Sunday 12 December 2010 17:43:12 Andrej M. wrote:
> I can't seem to find an easy remove method in std.algorithm that takes an
> object and a range (an array in this case) and removes any matches from
> the range. I'm using this snippet for now:
>
> private DrawingElement[] elements;
>
> public
I can't seem to find an easy remove method in std.algorithm that takes an
object and a range (an array in this case) and removes any matches from the
range. I'm using this snippet for now:
private DrawingElement[] elements;
public override void Remove(DrawingElement d)
{
foreach (i, child;
13 matches
Mail list logo