Vyxapedia

Element - ¨^ - Parse direction arrow to vector

Characters: ¨, ^


Description

Map characters in `>^


Overloads

  • str - map on a, replacing `>^<v` with [1, 0], [0, 1], etc., and others with [0, 0]

Examples

  • `v` ¨^ = ⟨0|-1⟩
  • `^<><>` ¨^ = ⟨⟨0|1⟩|⟨-1|0⟩|⟨1|0⟩|⟨-1|0⟩|⟨1|0⟩⟩
  • ⟨`^`⟩ ¨^ = ⟨⟨0|1⟩⟩
  • `1V_☭` ¨^ = ⟨⟨0|0⟩|⟨0|0⟩|⟨0|0⟩|⟨0|0⟩⟩