Skip to content

Reference card

Builtin functions

cmp eq, ne, lt, le, gt, ge
compose as, concat, dict, table, group, guid, list, enlist, rand, reverse, til, distinct
control if, try, raise, exit
env set, let, env, memstat
ext loadfn
format format, print, println, show
interfacing loadfn, call-ext, call-async, call-ext-async
io write, read, read-csv, print, println, hopen, hclose
items at, except, filter, find, first, last, key, value, take, sect union, where, in
iter apply, do, map, fold
join lj
logic and, or, not, like
math +, -, *, /, %, avg, div, max, min, sum, xbar, round, floor, ceil, med, dev
misc count, type, rc
order asc, desc, iasc, idesc, neg,
query select
relation eq, ne, lt, le, gt, ge
repl parse, eval, exec, load
serde ser, de
items map, fold
temporal date, time, timestamp
time timer
update alter, insert, upsert, update

Datatypes

Id Name Size Description
0 List - Generic List
1 Bool 1 Boolean
2 Byte 1 Byte
3 I64 8 Signed 64-bit Integer
4 F64 8 64-bit Floating Point
5 Symbol 8 Symbol (interned string)
6 Timestamp 8 Timestamp
7 Guid 16 Globally Unique Identifier
8 Char 4 Character
20 Enum - Enumerated Type
77 AnyMap - Generic Map
78 FilterMap - Filter Map
79 GroupMap - Group Map
98 Table - Table
99 Dict - Dictionary
100 Lambda - Lambda (user function)
101 Unary - Unary (function with 1 argument)
102 Binary - Binary (function with 2 arguments)
103 Vary - Vary (function with n arguments)
126 Null - Generic NULL
127 Error - Error (special type for errors)