Next: , Previous: , Up: iklib syntaxes   [Index]


6.8.13 Internal body

Syntax: internal-body ?definition?expr0 ?expr

Delimits an internal body, evaluating the definitions and then the expression. This syntax must be used in expression context.

(import (vicare))

(let ()
  (define a 1)
  (display a)
  (internal-body
    (define b 2)
    (define c 3)
    (display a)
    (display b)
    (display c)))
-| 1123