Vyxapedia

Element - İ - Index into / Collect while unique / Complex Number

Characters: İ


Description

Index into list at indices / Collect values while values are unique (not including the initial value)


Overloads

  • num-num - a + b * i
  • any-lst - [a[item] for item in b]
  • any-fun - Apply b on a and collect unique values. Does not include the initial value.

Examples

  • ⟨`foo`|`bar`|-69|420|`baz`⟩ ⟨0|2|4⟩ İ = ⟨`foo`|-69|`baz`⟩
  • ⟨3|4|5|6|7|8|9|10⟩ ⟨0|2|4|6|8⟩ İ = ⟨3|5|7|9|3⟩
  • ⟨1|4|9|16⟩ ⟨⟨0|1⟩|⟨2|3⟩⟩ İ = ⟨⟨1|4⟩|⟨9|16⟩⟩
  • `Hello, World!` ⟨0|2|4|6|8⟩ İ = ⟨`H`|`l`|`o`|` `|`o`⟩
  • ⟨0|2|4|6|8⟩ `Hello, World!` İ = ⟨`H`|`l`|`o`|` `|`o`⟩
  • ⟨1|2|3⟩ ⟨-1|0.1|1.9|`0`⟩ İ = ⟨3|1|2|1⟩
  • 123 ⟨-1|0.1|1.9|`0`⟩ İ = ⟨3|1|2|1⟩