Standard Library
Runtime functions loaded at startup after primitives.
Arithmetic
+ src
error
Exported functions: - Higher-order: map, filter, fold, reduce, keep - Combinators: identity, complement, constantly, compose, comp, partial, juxt - Predicates: all?, any?, some, none? - Search: find, find-index, index-of, last-index-of - Transformation: flatten, group-by, partition, take-while, drop-while - Struct operations: merge - Stream sinks: stream/for-each, stream/fold, stream/collect, stream/into-array - Stream transforms: stream/map, stream/filter, stream/take, stream/drop, stream/concat, stream/zip, stream/pipe - Stream ports: port/lines, port/chunks, port/writer - Subprocess convenience: subprocess/system
Comparison
check-comparable src
error
Logic and pairs
Higher-order functions
map src
debugerrorexecffigpuhaltioos-signalyield
filter src
debugerrorexecffigpuhaltioos-signalyield
Functional combinators
Collection search & predicates
all? src
debugerrorexecffigpuhaltioos-signalyield
find-index src
debugerrorexecffigpuhaltioos-signalyield
count src
debugerrorexecffigpuhaltioos-signalyield
Collection transforms
zip src
debugerrorexecffigpuhaltioos-signalyield
take-while src
debugerrorexecffigpuhaltioos-signalyield
drop-while src
debugerrorexecffigpuhaltioos-signalyield
frequencies src
erroryield
mapcat src
debugerrorexecffigpuhaltioos-signalyield
map-indexed src
debugerrorexecffigpuhaltioos-signalyield
min-key src
debugerrorexecffigpuhaltioos-signalyield
max-key src
debugerrorexecffigpuhaltioos-signalyield
sort-by src
debugerrorexecffigpuhaltioos-signalyield
sort-with src
debugerrorexecffigpuhaltioos-signalyield
Time utilities
VM query wrappers
Control flow graph rendering
fn/cfg-dot src
erroryield
fn/cfg-mermaid src
erroryield
Struct operations
Stream combinators
stream/for-each src
erroryield
stream/fold src
erroryield
stream/collect src
erroryield
stream/into-array src
erroryield
Output
eprintln src
errorioyield
Spawn
ev/spawn src
debugerrorexecffigpuhaltioos-signalyield
Async scheduler
make-async-scheduler src
error
ev/shutdown src
debugerrorexecffigpuhaltioos-signalyield
ev/step src
debugerrorexecffigpuhaltioos-signalyield
ev/with-scheduler src
debugerrorexecffigpuhaltioos-signalyield
ev/run src
debugerrorexecffigpuhaltioos-signalyield
Structured concurrency primitives
ev/futex-wait src
errorwait
ev/futex-wake src
errorwait
ev/join src
errorwaityield
ev/join-protected src
errorwaityield
ev/as-completed src
erroryield
ev/select src
debugerrorexecffigpuhaltioos-signalyield
ev/race src
debugerrorexecffigpuhaltioos-signalwaityield
ev/timeout src
debugerrorexecffigpuhaltioos-signalwaityield
ev/scope src
debugerrorexecffigpuhaltioos-signalwaityield
ev/map src
debugerrorexecffigpuhaltioos-signalwaityield
ev/map-limited src
debugerrorexecffigpuhaltioos-signalyield
Channel select
chan/select src
errorioyield
all? src
debugerrorexecffigpuhaltioos-signalyield
Subprocess convenience
subprocess/system src
errorexecioyield
FFI helpers
Collection helpers
from-pairs src
erroryield