Lucas Stadler
|
958ea7e37f
huzzah, pointers in the list itself seem to be the solution.
|
11 vuotta sitten |
Lucas Stadler
|
11b0425b75
two more tries (boxed list and reference to boxed list).
|
11 vuotta sitten |
Lucas Stadler
|
7a7e9f0e92
ref also doesn't work.
|
11 vuotta sitten |
Lucas Stadler
|
c9796e1f77
demonstrate that plain cons moves the value it receives.
|
11 vuotta sitten |
Lucas Stadler
|
ada418c050
add commented-out, failing example for cons with references.
|
11 vuotta sitten |
Lucas Stadler
|
8570dbe519
fix prints to reflect what's actually being done.
|
11 vuotta sitten |
Lucas Stadler
|
e0296ef20c
add pointer examples.
|
11 vuotta sitten |