System functions

A system function is a built-in function whose name starts with •, as in •ucs or •json. Type • with Alt-y. Names are case-insensitive. Many system functions take their options as a left argument. A function named for a format reads that format, and its inverse writes it: •json reads JSON, and •json⁻ writes it. Each name below links to its page. ]help •name shows the same page. Built-in values have names that start with $, as Constants and $ names describes.

A function that takes one string, such as •json or •element, applies to each string of an array of strings, and to each row of a character matrix, as ⍎ does. A function that takes one number, such as •uuid, applies to each number of an array. The results form an array of the argument's shape. Results from the rows of a character matrix are assembled as Rank's results are. For an empty argument, the function returns an empty array of its usual result type, such as an empty list of strings from •src. The whole left argument is passed with each item or row of the right argument. The pages for •c, •date, •path and •metadata give their rules for array arguments.

In Python, the workspace object bpl has each system function under its name without •. Pass options as keyword arguments, as in bpl.json('{"a": null}', fill=0). Use .undo for the inverse, as in bpl.json.undo(Y) for •json⁻. Python covers the calling conventions.

Text

NameDescription
•cCase
•ucsUnicode
•normalizeUnicode normalization
•rRegular expression matches
•replaceRegular expression replacement

Data and files

NameDescription
•csvCSV
•jsonJSON
•literalLiterals
•vfiNumeric input
•dateDates
•ngetRead a file
•nputWrite a file
•fetchFetch a URL
•pathPaths
•metadataFile metadata
•readdirList a directory
•copyCopy
•renameRename
•removeRemove
•mkdirMake a directory
•deflateCompression
•hashHashing
•uuidUUIDs

Display

NameDescription
•elementXML elements
•xmlXML text
•svgSVG pictures
•mimeRich display
•plotPlots
•imageImages
•canvasDrawing with JavaScript
•prefsSession settings

Linear algebra

NameDescription
•decomposeMatrix decompositions

Special functions

NameDescription
•specialGamma, error and beta functions

Random numbers and distributions

NameDescription
•randGenerator
•distributionDistributions

Positions

NameDescription
•indexFresh indices
•edgeEdge modes

Programs

NameDescription
•loadLoad
•signalSignal
•storageStorage
•detachDetach
•floatFloat width
•timeTiming
•hostHost facts
•delayDelay
•jsJavaScript functions, in the browser

Introspection

NameDescription
•ncName class
•nlName list
•srcSource
•exErase
•explainExplain
•memoryMemory