Vyxapedia

Element - - Split On / Fill By Coordinates

Characters:


Description

Split a on b (works on lists and numbers as well) / Fill a matrix by calling a function with the lists of coordinates in the matrix.


Overloads

  • any-any - a split on b
  • any-fun - for each value of a (all the way down) call b with the coordinates of that value and put that at the appropriate position in a

Examples

  • -1231234.5 6 € = ⟨-24|24|4.5⟩
  • `abc3def` 3 € = ⟨`abc`|`def`⟩
  • `abcd333` `d` € = ⟨`abc`|`333`⟩
  • ⟨1|2|3|4|3|2|1⟩ 4 € = ⟨⟨1|2|3⟩|⟨3|2|1⟩⟩
  • ⟨1|2|3|4⟩ 4 € = ⟨⟨1|2|3⟩|⟨⟩⟩
  • ⟨⟩ 4 € = ⟨⟨⟩⟩