Disclose: Difference between revisions
Jump to navigation
Jump to search
(Removed redirect to Mix) Tag: Removed redirect |
mNo edit summary |
||
Line 3: | Line 3: | ||
For a discussion of all uses of the [[glyph]] <source lang=apl inline>⊃</source>, see [[Right Shoe]]. | For a discussion of all uses of the [[glyph]] <source lang=apl inline>⊃</source>, see [[Right Shoe]]. | ||
{{APL built-ins}} | {{APL built-ins}}[[Category:Primitive functions]] |
Revision as of 11:41, 1 May 2020
⊃
|
Right Shoe (⊃
) is a monadic function is nested APLs which reduces the level of nesting of an array. However, its treatment of non-scalars varies between dialects. Some dialects have it extract the argument's initial element in ravel order, while others have it combine the array's elements (requiring conforming shapes or padding with [fill element]]s). Depending on which approach is taken, it is common to use the unambiguous names First and [Mix]] for these two functions.
For a discussion of all uses of the glyph ⊃
, see Right Shoe.