Clarity theorytheory 0/50 · 0%
Control Flow · easy

20. Sequential Logic: begin

Executing multiple expressions in order.

The `begin` expression allows you to group multiple expressions and execute them sequentially. It returns the value of the last expression.

clarity
(begin
  (var-set count u1)
  (ok true))

Check your understanding

  1. 1. What does begin return?