Vyxapedia

Element - * - Multiplication / Arity Change

Characters: *


Description

Multiply two numbers or strings / Change the arity of a function


Overloads

  • num-num - a * b
  • num-str - b repeated a times
  • str-num - a repeated b times
  • str-str - ring translate a according to b (in a, replace b[0] with b[1], b[1] with b[2], ..., and b[-1] with b[0])
  • fun-num - change the arity of function a to b
  • num-fun - change the arity of function b to a

Examples

  • 3 5 * = 15
  • 4 -2 * = -8
  • 4 `*` * = `****`
  • `x` 5 * = `xxxxx`
  • `aeiou` `hello` * = `alihu`