Vyxapedia

Element - Ŀ - Transliterate

Characters: Ŀ


Description

Replace each item of one value in another value with the corresponding element from a third value


Overloads

  • any-any-any - transliterate(a,b,c) (in a, replace b[0] with c[0], b[1] with c[1], b[2] with c[2], ...)
  • fun-fun-any - call b on c until a(c) is falsy

Examples

  • `abcdefcba` `abc` `123` Ŀ = `123def321`
  • ⟨1|2|0⟩ ⟨2⟩ ⟨5⟩ Ŀ = ⟨1|5|0⟩
  • `120` ⟨2⟩ `5` Ŀ = `150`
  • -120 ⟨2⟩ ⟨5⟩ Ŀ = ⟨-150⟩
  • `abc` `ab` ⟨`bb`|`cc`⟩ Ŀ = ⟨`bb`|`cc`|`c`⟩
  • 431 1234 4321 Ŀ = 124
  • -234 1234 4321 Ŀ = -321