blob: 2eac62924881d8198ffc5808e9289f2adac11897 (
plain)
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
|
← Define
⇐ Export
↩ Change
→ Return
⋄ Separator
, Separator
: Header separator
; Body separator
( Begin expression
) End expression
{ Begin function or modifier
} End function or modifier
⟨ Begin list
⟩ End list
‿ Strand
· Nothing
@ Null character
' Character
" String (list of characters)
• System
𝕤 Current function (as subject)
𝕊 Current function
𝕨 Left argument
𝕎 Left argument (as function)
𝕩 Right argument
𝕏 Right argument (as function)
𝕣 Current modifier
𝕗 Modifier left operand (as subject)
𝔽 Modifier left operand
𝕘 2-modifier right operand (as subject)
𝔾 2-modifier right operand
# Comment
+ Conjugate ; Add
- Negate ; Subtract
× Sign ; Multiply
÷ Reciprocal ; Divide
⋆ Exponential ; Power
√ Square Root ; Root
⌊ Floor ; Minimum
⌈ Ceiling ; Maximum
∧ Sort Up ; And
∨ Sort Down ; Or
¬ Not ; Span
| Absolute Value ; Modulus
≤ ; Less Than or Equal to
< Enclose ; Less Than
> Merge ; Greater Than
≥ ; Greater Than or Equal to
= Rank ; Equals
≠ Length ; Not Equals
≡ Depth ; Match
≢ Shape ; Not Match
⊣ Identity ; Left
⊢ Identity ; Right
⥊ Deshape ; Reshape
∾ Join ; Join to
≍ Solo ; Couple
⋈ Enlist ; Pair
↑ Prefixes ; Take
↓ Suffixes ; Drop
↕ Range ; Windows
« Shift Before
» Shift After
⌽ Reverse ; Rotate
⍉ Transpose ; Reorder axes
/ Indices ; Replicate
⍋ Grade Up ; Bins Up
⍒ Grade Down ; Bins Down
⊏ First Cell ; Select
⊑ First ; Pick
⊐ Classify ; Index of
⊒ Occurrence Count ; Progressive Index of
∊ Mark Firsts ; Member of
⍷ Deduplicate ; Find
⊔ Group Indices ; Group
! Assert ; Assert with message
˙ Constant | {𝕩⋄𝕗} | Return a function that returns the operand
˜ Self/Swap | {𝕩𝔽𝕨⊣𝕩} | Duplicate one argument or exchange two
∘ Atop | {𝔽𝕨𝔾𝕩} | Apply 𝔾 to both arguments and 𝔽 to the result
○ Over | {(𝔾𝕨)𝔽𝔾𝕩} | Apply 𝔾 to each argument and 𝔽 to the results
⊸ Before/Bind | {(𝔽𝕨⊣𝕩)𝔾𝕩} | 𝔾's left argument comes from 𝔽
⟜ After/Bind | {(𝕨⊣𝕩)𝔽𝔾𝕩} | 𝔽's right argument comes from 𝔾
⌾ Under | {𝔾⁼∘𝔽○𝔾} | OR {(𝔾𝕩)↩𝕨𝔽○𝔾𝕩⋄𝕩} Apply 𝔽 over 𝔾, then undo 𝔾
⊘ Valences | {𝔽𝕩;𝕨𝔾𝕩} | Apply 𝔽 if there's one argument but 𝔾 if there are two
◶ Choose | {f←(𝕨𝔽𝕩)⊑𝕘 ⋄ 𝕨F𝕩} | Select one of the functions in list 𝕘 based on 𝔽
˘ Cells
⎉ Rank
¨ Each
⚇ Depth
⌜ Table
⁼ Undo
⍟ Repeat
´ Fold
˝ Insert
` Scan
|