System Outputs

Category System Type Args Supplement Supplement
Console ⎕ κ[?] console message standard output
⎕ASSERT ⟨β, κ[?]⟩ flag, assert message assert
⎕IMPORT κ[?] import module path import module
⎕RETURNIF ⟨β, ?[]⟩ flag, returned value
File System ⎕DCREATE ⟨κ[?], κ[?]⟩ base path, dir name create directory
⎕DMOVE ⟨κ[?], κ[?]⟩ src path, dst path move directory
⎕DCOPY ⟨κ[?], κ[?]⟩ src path, dst path copy directory
⎕DRENAME ⟨κ[?], κ[?]⟩ base path, dst path rename directory
⎕DDELETE κ[?] path delete directory
⎕FCREATE ⟨κ[?], κ[?]⟩ base path, file name create file
⎕FMOVE ⟨κ[?], κ[?]⟩ src path, dst path move file
⎕FCOPY ⟨κ[?], κ[?]⟩ src path, dst path copy file
⎕FRENAME ⟨κ[?], κ[?]⟩ base path, dst path rename file
⎕FDELETE κ[?] path delete file
⎕FPUTT ⟨κ[?], κ[?]⟩ path, text overwrite text file
⎕FPUTB ⟨κ[?], β[?]⟩ path, binary array overwrite binary file
OS ⎕OS ⟨κ[?], ⟨κ[?]⟩[?]⟩ os command, inputs execute os command

Nilad System Functions

Category System Type Supplement
Console ⎕ ?[?] standard input
Calculation ⎕RAND φ random
DateTime Operation ⎕DT υ6[7] DateTime
⎕TS υ6 Timestamp

Monad System Functions

Category System Type Args Supplement Supplement
File System ⎕DEXISTS κ[?] → β
⎕DGLOB κ[?] → ⟨κ[?]⟩[?]
⎕FEXISTS κ[?] → β
⎕FGLOB κ[?] → ⟨κ[?]⟩[?]
⎕FGETT κ[?] → κ[?]
⎕FGETB κ[?] → β[?]
Data Conversion ⎕DCFE ⟨⟩[] → β[?]
⎕DCF β[?] → ⟨⟩[]
⎕CSV κ[?] → ⟨κ[?]⟩[? ?]
⎕CSVT κ[?] → ⟨⟩[?]
⎕CSVM κ[?] → ?[? ?]
⎕JSON κ[?] → ⟨⟩[]
⎕XML κ[?] → ⟨⟩[]
⎕YAML κ[?] → ⟨⟩[]
⎕TOML κ[?] → ⟨⟩[]
⎕IMAGE κ[?] → υ3[? ? 3]
⎕AUDIO κ[?] → ⟨υ4, υ3, ι4[? ?]⟩ monoral: ι4[1 ?], stereo: ι4[2 ?], 5.1ch: ι4[6 ?]
⎕PAUDIO ⟨κ[?], υ4, υ4⟩ → ι4[?]
⎕VIDEO κ[?] → υ3[? ? ? 3]
⎕PVIDEO ⟨κ[?], υ4⟩ → υ3[? ? ? 3]
⎕GREP ⟨κ[?], ⟨κ[?]⟩[?]⟩ → ⟨κ[?]⟩[?]
Expressions ⎕IF ⟨β, ?[], ?[]⟩ → ?[]
⎕SW ⟨⟨β, ?[]⟩[?], ?[]⟩ → ?[]
Calculation ⎕SIN φ → φ
⎕COS φ → φ
⎕TAN φ → φ

Dyad System Functions

Category System Type Args Supplement Supplement
Calculation ⎕ASIN φ, φ → φ
⎕ACOS φ, φ → φ
⎕ATAN φ, φ → φ
⎕SINH φ, φ → φ
⎕COSH φ, φ → φ
⎕TANH φ, φ → φ

Glyph Constants

Glyph Type Supplement
π υ6 pi
ε υ6 napier number
φ ? empty value

Glyph Functions

Glyph Monad Dyad
+ conjugate plus
- negate minus
× direction times
÷ reciprocal divide
% magnitude residue
* power
# logarithm
⌈ ceiling maximum
⌊ floor minimum
? random index array generator
∧ logical and
∨ logical or
¬ logical not
= hit cases equal
< less than
> greater than
≤ equal or less than
≥ equal or greater than
≡ match
ι ordered index array generator index of
ρ shape extractor reshape
& combination
⌹ matrix inversion
⍉ matrix transposition

Glyph Operators

Glyph Monad Monad Dyad Dyad
/ ?/ ?[] reduce
. ?[] ?. ?[] outer product ?[] ?.? ?[] inner product
⍉ υ⍉υ ?[] tensor transposition
⍤ ?⍤υ ?[], ?[] ?⍤υ ?[] ranked each
⌺ ?[?] ?⌺ ?[] stencil