Thread overview
List of Dynamic Arrays
Jun 17, 2021
Justin Choi
Jun 17, 2021
Adam D Ruppe
Jun 17, 2021
Justin Choi
Jun 17, 2021
Ali Çehreli
June 17, 2021

If I wanted to create a DList (or any similar data structure) of multiple integers, how would I accomplish this?

I want to write something like DList!int[]() but the best I can do for now is a format such as DList!(Tuple(int, int))() which confines me to a fixed number of integers.

June 17, 2021

On Thursday, 17 June 2021 at 15:57:46 UTC, Justin Choi wrote:

>

I want to write something like DList!int[]()

DList!(int[])() ?

June 17, 2021

On Thursday, 17 June 2021 at 15:58:40 UTC, Adam D Ruppe wrote:

>

On Thursday, 17 June 2021 at 15:57:46 UTC, Justin Choi wrote:

>

I want to write something like DList!int[]()

DList!(int[])() ?

Thanks I've mentally slapped myself a hundred times for this mistake :D

June 17, 2021
On 6/17/21 9:10 AM, Justin Choi wrote:

>> DList!(int[])() ?
>
> Thanks I've mentally slapped myself a hundred times for this mistake :D

Also, unless DList is really needed, why not:

  int[][]

Ali