On Friday, 11 January 2019 at 19:16:05 UTC, AlCaponeJr wrote:
On Friday, 11 January 2019 at 11:15:05 UTC, Mike James wrote:
Check out the origin :-)
https://forum.dlang.org/thread/hl8345$2b1q$1...@digitalmars.com?page=1
Indeed a terrible name, please don't tell me this was chosen by
vote.
On Friday, 11 January 2019 at 11:15:05 UTC, Mike James wrote:
Check out the origin :-)
https://forum.dlang.org/thread/hl8345$2b1q$1...@digitalmars.com?page=1
Indeed a terrible name, please don't tell me this was chosen by
vote.
By the way currently is there any vote system for naming these
On 1/11/19 1:25 PM, 0xEAB wrote:
On Friday, 11 January 2019 at 13:51:04 UTC, JN wrote:
On Friday, 11 January 2019 at 11:15:05 UTC, Mike James wrote:
Check out the origin :-)
https://forum.dlang.org/thread/hl8345$2b1q$1...@digitalmars.com?page=1
I guess something like iterReverse, reverseIte
On Friday, 11 January 2019 at 13:51:04 UTC, JN wrote:
On Friday, 11 January 2019 at 11:15:05 UTC, Mike James wrote:
Check out the origin :-)
https://forum.dlang.org/thread/hl8345$2b1q$1...@digitalmars.com?page=1
I guess something like iterReverse, reverseIter, backIterator
would be too simp
On Friday, 11 January 2019 at 13:51:04 UTC, JN wrote:
I guess something like iterReverse, reverseIter, backIterator
would be too simple...
or foreach_reverse, which never actually was removed!
lol
On Friday, 11 January 2019 at 11:15:05 UTC, Mike James wrote:
Check out the origin :-)
https://forum.dlang.org/thread/hl8345$2b1q$1...@digitalmars.com?page=1
I guess something like iterReverse, reverseIter, backIterator
would be too simple...
On Friday, 11 January 2019 at 11:15:05 UTC, Mike James wrote:
On Friday, 11 January 2019 at 09:41:30 UTC, bauss wrote:
On Friday, 11 January 2019 at 08:25:41 UTC, Seb wrote:
On Friday, 11 January 2019 at 08:05:39 UTC, AndreasDavour
wrote:
Hi.
I've just started to learn some D, so maybe this q
On Friday, 11 January 2019 at 11:15:05 UTC, Mike James wrote:
On Friday, 11 January 2019 at 09:41:30 UTC, bauss wrote:
On Friday, 11 January 2019 at 08:25:41 UTC, Seb wrote:
On Friday, 11 January 2019 at 08:05:39 UTC, AndreasDavour
wrote:
Hi.
I've just started to learn some D, so maybe this q
On Friday, 11 January 2019 at 09:41:30 UTC, bauss wrote:
On Friday, 11 January 2019 at 08:25:41 UTC, Seb wrote:
On Friday, 11 January 2019 at 08:05:39 UTC, AndreasDavour
wrote:
Hi.
I've just started to learn some D, so maybe this question is
extremely stupid, but please bear with me.
[...]
On Friday, 11 January 2019 at 09:41:30 UTC, bauss wrote:
On Friday, 11 January 2019 at 08:25:41 UTC, Seb wrote:
On Friday, 11 January 2019 at 08:05:39 UTC, AndreasDavour
wrote:
Hi.
I've just started to learn some D, so maybe this question is
extremely stupid, but please bear with me.
[...]
On Friday, 11 January 2019 at 08:25:41 UTC, Seb wrote:
On Friday, 11 January 2019 at 08:05:39 UTC, AndreasDavour wrote:
Hi.
I've just started to learn some D, so maybe this question is
extremely stupid, but please bear with me.
[...]
Use .retro - it is also lazy and won't allocate:
https:
On Friday, 11 January 2019 at 08:45:12 UTC, JN wrote:
On Friday, 11 January 2019 at 08:15:01 UTC, rikki cattermole
wrote:
Note the immutable, it means you cannot modify individual
values. Which is a problem for reverse because it modifies in
place.
The error message is kind of unfortunate.
On Friday, 11 January 2019 at 08:15:01 UTC, rikki cattermole
wrote:
Note the immutable, it means you cannot modify individual
values. Which is a problem for reverse because it modifies in
place.
The error message is kind of unfortunate. This is a simple
usecase and the error message is unde
On Friday, 11 January 2019 at 08:05:39 UTC, AndreasDavour wrote:
Hi.
I've just started to learn some D, so maybe this question is
extremely stupid, but please bear with me.
[...]
Use .retro - it is also lazy and won't allocate:
https://run.dlang.io/is/A6bjrC
So strings in D are Unicode. This is both a great thing and a horrible
thing.
To reverse a Unicode string correctly you need to take into account BiDi
and graphemes, in other words it gets rather complex. However I suspect
that this isn't what you want.
Now a (w/d)string is defined as:
alias
Hi.
I've just started to learn some D, so maybe this question is
extremely stupid, but please bear with me.
I have been trying to reverse a string, and through some googling
found the std.algorithm.mutation.reverse method. But, when I try
to use it I get some very verbose errors that just ma
16 matches
Mail list logo