Errors
bailTriggers an error.
ensureTriggers an error when an assertion fails.
todoTriggers an error with a "not yet implemented" message.
dbgPrints its arguments, formatted for debugging.
tryCaptures errors with a brief error message.
try-verboseCaptures errors with a verbose error message.
file-locationReturns a string describing the current file and line number.
stack-traceReturns a string describing the current call-stack.
Equality
eq?Returns #t if all of its arguments are equal to one another.
same?Returns #t if all of its arguments share the same identity.
==any?Returns #t if its first argument is numerically equal to any other argument.
eq-any?Returns #t if its first argument is equal to any other argument.
same-any?Returns #t if its first argument has the same identity as any other argument.
Cloning
cloneReturns a shallow copy of its argument.
deep-cloneReturns a deep, recursive copy of its argument.
Freezing
freeze!Freezes a collection so that it can no longer be mutated.
deep-freeze!Recursively freezes a tree of collections.
freed?Returns #t if an RData has been freed.
Time
timeGenerates a high-precision timestamp.
sleepSleeps the current thread for the given number of seconds.
unix-timeReturns the number of seconds elapsed since the UNIX epoch, as a string.