Each: Difference between revisions

Jump to navigation Jump to search
301 bytes added ,  13:04, 3 September 2021
m
Added the reverse example provided by Adam
(Use internal link instead of external to primitive functions; grammar etc.)
m (Added the reverse example provided by Adam)
Line 13: Line 13:
┌───┬───┬───┐
┌───┬───┬───┐
│1 1│1 2│1 3│
│1 1│1 2│1 3│
└───┴───┴───┘
      x←'abc' 'def' 'ghi'
      ⌽x ⍝ reverse x
┌───┬───┬───┐
│ghi│def│abc│
└───┴───┴───┘
      ⌽¨x ⍝ reverse each element of x
┌───┬───┬───┐
│cba│fed│ihg│
└───┴───┴───┘
└───┴───┴───┘
</source>
</source>
24

edits

Navigation menu