mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-18 21:29:18 +02:00
Relocated
This commit is contained in:
parent
f47b3be216
commit
53be15015a
2 changed files with 15 additions and 10 deletions
|
@ -1,10 +0,0 @@
|
|||
;; An example of using begin to splice in definitions
|
||||
(import (scheme base )
|
||||
(scheme write))
|
||||
|
||||
(begin
|
||||
(define tmp1 1)
|
||||
(define tmp2 2))
|
||||
|
||||
(write `(,tmp1 ,tmp2))
|
||||
|
15
examples/begin-splicing.scm
Normal file
15
examples/begin-splicing.scm
Normal file
|
@ -0,0 +1,15 @@
|
|||
;; 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))
|
||||
|
Loading…
Add table
Reference in a new issue