-
Notifications
You must be signed in to change notification settings - Fork 3
/
overloads
157 lines (156 loc) · 2.13 KB
/
overloads
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
[WIP] overloads to add (mostly from Vyxal):
MONADS:
A: str → remove whitespace
Ȧ: str → is uppercase
B: str → string → binary of each codepoints
Ḃ: str → to base 10
C: str → split at commas
Ċ: str → randomly select a character
D: str → split into characters
Ḋ: lst → catanate to string
E: no change
Ė: no change
F: no change?
Ḟ:
G: no change
Ġ: no change
H: str → to lowercase
Ḣ: str → to uppercase
I:
J: no change
K:
L: no change
Ŀ: no change?
M:
Ṁ:
N: str → swap case
Ṅ: str → return lowercase → 0 / uppercase → 1 / not valid → -1
O: no change
Ȯ: str → append first element
S: str → substrings
Ṡ:
T: str → eval?
Ṫ:
V: str → 0: all letters lowercase, 1: all letters uppercase, -1: mixed case
W:
X: no change
Ẋ: no change
Y: no change
Ẏ: no change
Z:
Ż: str → prepend the last character
!:
¬:
√: str → palindromise
Σ:
Π:
⊂: no change
⊆: no change
⊃: no change
⊇: no change
⊐: no change
⊒: no change
~:
γ: no change
ε: no change
ι: str → is character a letter for each
κ: str → is character a digit for each
χ: str → is character a vowel for each
ψ: str → is character a vowel + y for each
ϕ:
∵: str → min character
∴: str → max character
↑:
↓:
∞: str → no change
¼: str → eval as flax (?)
½: str → second half of
⌈: str → split on space
⌊: str → split on newlines
→: str → increment ascii codepoints
←: str → decrement ascii codepoints
∂: no change
{: no change
}: no change
○: no change?
↶:
DYADS:
a: num, str → repeat str as a list
str, str → regex match
ȧ: no change
b:
ḃ:
c: num, str →
str, str → overwrite start of one with another
ċ:
d:
ḋ: str, str → join by space
e:
ė:
f:
ḟ:
g: str, str → longest common suffix
ġ:
h:
ḣ:
j:
k:
l: str, str → longest common prefix
ŀ:
m:
ṁ:
n:
o:
ȯ:
p: num, str → nPr(num, len(str))
str, str → nPr(len(str), len(str))
ṗ:
q: no change
r:
s:
ṡ:
t:
ṫ:
u:
v:
w:
ẇ:
x:
ẋ:
y:
ẏ:
z:
ż:
+:
-:
±:
×:
÷:
|:
*:
&:
%:
^:
∧:
∨:
>:
<:
=:
≠:
≤:
≥:
≡:
≢:
≈:
,:
;:
∊:
⊏:
⊑:
∘:
⊣: no change
⊢: no change
#:
δ:
»:
«: