-
Notifications
You must be signed in to change notification settings - Fork 0
/
elements.txt
28 lines (23 loc) · 1.14 KB
/
elements.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Command
-------
+ a: number, b: number Addition (a+b)
a: number, b: string Concatenate (a+b)
a: string, b: number
a: string, b: string
a: list, b: any Vectorise
a: list, b: list Zipped addition (a[0]+b[0],a[1]+b[1].....)
a: any, b: list Join b by a
- a: number, b: number Subtraction (a-b)
a: string, b: string Non-regex replace b from a with empty string (remove) (a-b)
a: string, b: number
a: number, b: list Remove a'th element of b
a: number, b: string
a: list, b: any Vectorise
a: list, b: list Zipped subtraction (a[0]-b[0],a[1]-b[1].....)
× a: number, b: number Multiplication
a: string, b: number Times (a repeated b times)
a: number, b: string Times (b repeated a times)
a: string, b: string Append each character in b to a (make a list)
a: any, b: list Vectorise
a: list, b: any
a: list, b: list Zipped multiplication (a[0]×b[0],a[1]×b[1].....)