4,577
edits
Line 37: | Line 37: | ||
What we really wanted was: | What we really wanted was: | ||
<source lang=apl> | <source lang=apl> | ||
1 2⊃3 4⊃<<5 6 | |||
┌───┬───┬─────┐ | ┌───┬───┬─────┐ | ||
│1 2│3 4│┌───┐│ | │1 2│3 4│┌───┐│ | ||
Line 42: | Line 43: | ||
│ │ │└───┘│ | │ │ │└───┘│ | ||
└───┴───┴─────┘ | └───┴───┴─────┘ | ||
</source> | </source>{{Works in|[[SHARP APL]]}} | ||
Link is different from [[Pair]] <source lang=apl inline>⍮</source>, as Pair simply encloses both arguments and always produces a length-2 vector, so it cannot be used to construct a long nested array of uniform depth like Link does. | Link is different from [[Pair]] <source lang=apl inline>⍮</source>, as Pair simply encloses both arguments and always produces a length-2 vector, so it cannot be used to construct a long nested array of uniform depth like Link does. |