mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-18 21:29:18 +02:00
15 lines
343 B
Scheme
15 lines
343 B
Scheme
;; An example of using begin to splice in definitions. As the
|
|
;; spec states:
|
|
;;
|
|
;; "It causes the contained expressions and definitions to be
|
|
;; evaluated exactly as if the enclosing begin construct were
|
|
;; not present."
|
|
(import (scheme base )
|
|
(scheme write))
|
|
|
|
(begin
|
|
(define tmp1 1)
|
|
(define tmp2 2))
|
|
|
|
(write `(,tmp1 ,tmp2))
|
|
|