<< | What this talk is about | >> |
<< | Constructing XML Elements | >> |
mirror functionwith the same name.
nodeobject.
<< | Constructor functions | >> |
(define-element html (head body)) (define-element body any) ;; if lazy
<< | Namespaces | >> |
(define-namespace html "some-unique-string") (html:html (html:body (html:p "Hello")))
<< | Attributes | >> |
(html:a href: "http://gnu.org/" "GNU")
<< | Sequences as multiple values | >> |
<< | Sequences versus lists | >> |
statements.
<< | Arrays | >> |
<< | Expressions and Statements | >> |
<< | Sequence Comprehensions | >> |
(define x (let r ((i 0)) ;; R5RS "named let" (+ 100 i) (if (< i 5) (r (+ i 1))) i))
evaluates to:
100 101 102 103 104 105 5 4 3 2 1 0
<< | Application: GUI constructors | >> |
<< | Example: a button bar | >> |
(do ((i 1 (+ i 1))) ((> i 10)) (button label: (number->string i) onpress: (lambda () (handle-digit i))))
<< | Functions and Patterns | >> |
<< | Indentation |
fun1 a b c fun2 d e fun3 f |
--> |
(fun1 a (b c) (fun2 d e) (fun3 f)) |