On 7/10/12 1:05 PM, Jacob Carlborg wrote:
On 2012-07-10 16:22, Andrei Alexandrescu wrote:It may be the case you're trying to write ruby in D. I rarely need to convert stuff to arrays.Mostly I receive an array, do some operations on it and then want to store the result in an instance variable in a class or struct. It's quite awkward to store a range in an instance variable.
Then store an array. "No one's put a gun to yer head." http://youtu.be/CB1Pij54gTw?t=2m29s
Andrei