on master help sign in
Update jetting.md
commit858c6624cd9f58a4357bf98f8336f2a91b45fff7 authorSigilante <57601680+sigilante@users.noreply.github.com> dateThu 13 Aug 2020, 14:49 (6 years ago) parentb37bfe2
1 file changed+7
tutorials/vere/jetting.md+7
tutorials/vere/jetting.md+7
@@ -618,6 +618,13 @@ are just recursive calls to the cell constructor `u3i_cell()` e.g.
618618 u3i_cell(a, u3i_cell(b, u3i_cell(c, d));
619619```
620620
621+This implies that, to create a list instead of a cell, you will need to append
622+`u3_nul` to the appropriately-sized tuple constructor:
623+
624+```c
625+ return(u3nt(a, b, u3_nul)); // for two atoms as a list
626+```
627+
621628Understanding the memory model, allocation, freeing, and ownership ('transfer' vs 'retain' semantics) is important. Some info is available at [Nouns](@/docs/tutorials/vere/nouns.md).
622629
623630## Compile the C code