Link: Difference between revisions

Jump to navigation Jump to search
56 bytes added ,  19:10, 20 April 2022
Line 3: Line 3:
== Examples ==
== Examples ==


Link implements <source lang=apl inline>{(⊂⍺),⊆⍵}</source>, that is, the [[catenate|concatenation]] of [[enclose]] of the left argument and [[nest]] (enclose if simple) of the right argument. This allows to chain the function over multiple arrays to form a nested array. Note that both [[SHARP APL]] and [[J]] use [[flat array model]], so they allow boxing of a [[simple scalar]].
Link implements <source lang=apl inline>{(⊂⍺),⊆⍵}</source> or <source lang=apl inline>,⍨∘⊂⍨∘⊆</source>, that is, the [[catenate|concatenation]] of [[enclose]] of the left argument and [[nest]] (enclose if simple) of the right argument. This allows to chain the function over multiple arrays to form a nested array. Note that both [[SHARP APL]] and [[J]] use [[flat array model]], so they allow boxing of a [[simple scalar]].


<source lang=apl>
<source lang=apl>

Navigation menu