May 12, 2022 Learn » Re: What are (were) the most difficult parts of D? | |||
|---|---|---|---|
| |||
...instead of static foreach, just make a tuple of your indices first and it will... | |||
May 12, 2022 Learn » Re: range result in Tuple! and how to convert into assocArray by sort? | |||
|---|---|---|---|
| |||
...import std;
void main()
{
uint[dchar] myAA;
Tuple!(dchar, uint) myTuple;
myTuple[0] = 'C'; myTuple... | |||
May 11, 2022 Learn » Re: range result in Tuple! and how to convert into assocArray by sort? | |||
|---|---|---|---|
| |||
On 5/9/22 22:12, MichaelBi wrote: > On Tuesday, 10 May 2022 at 04... | |||
May 10, 2022 Learn » Re: range result in Tuple! and how to convert into assocArray by sort? | |||
|---|---|---|---|
| |||
this is cool! thanks for your time and i really like your book Programming in... | |||
May 10, 2022 Learn » Re: range result in Tuple! and how to convert into assocArray by sort? | |||
|---|---|---|---|
| |||
yes, thanks. understood this. the problem for me now is after learning D, always thinking... | |||
May 09, 2022 Learn » Re: range result in Tuple! and how to convert into assocArray by sort? | |||
|---|---|---|---|
| |||
On 5/9/22 20:38, rikki cattermole wrote: > this is a super expensive > method... | |||
May 10, 2022 Learn » Re: range result in Tuple! and how to convert into assocArray by sort? | |||
|---|---|---|---|
| |||
If I am understanding the problem correctly, this is a super expensive method for doing... | |||
May 10, 2022 Learn » range result in Tuple! and how to convert into assocArray by sort? | |||
|---|---|---|---|
| |||
...Tuple!(dchar, "key", uint, "value")('A', 231)
Tuple!(dchar, "key", uint, "value")('C', 247)
Tuple... | |||
May 05, 2022 Learn » Re: Using regular expressions when reading a file | |||
|---|---|---|---|
| |||
...OR: .filter!(m => !m.empty)
.map!(m => tuple(m[1], m[2]))
.assocArray;
writeln(properties... | |||
May 04, 2022 Announce » D Language Foundation April Quarterly Meeting and Server Meeting Summaries | |||
|---|---|---|---|
| |||
...first observation was that Rust has a "tuple window" thing that is equivalent in functionality... | |||
Copyright © 1999-2021 by the D Language Foundation