likely is a Boolean hint used by code generation and optimization.
Syntax
(likely ⟨expr⟩)
Semantics
likelyhas type(Boolean -> Boolean).- It returns the predicate unchanged.
- The hint tells the compiler that the condition is expected to be
True.
Example
(if (likely ready?)
fast-path
slow-path)