better example for splice
svn: r14068
This commit is contained in:
parent
60a421e9ab
commit
e366d25a85
|
@ -1,7 +1,13 @@
|
||||||
#!/bin/env mzscheme
|
#!/bin/env mzscheme
|
||||||
#lang scribble/text
|
#lang scribble/text
|
||||||
|
|
||||||
|
@(define (block x)
|
||||||
|
@splice{{
|
||||||
|
blah(@x);
|
||||||
|
}})
|
||||||
|
|
||||||
start
|
start
|
||||||
@splice{x y
|
@splice{foo();
|
||||||
z}
|
loop:}
|
||||||
|
@list{if (something) @block{stuff}}
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
start
|
start
|
||||||
x y
|
foo();
|
||||||
z
|
loop:
|
||||||
|
if (something) {
|
||||||
|
blah(stuff);
|
||||||
|
}
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue
Block a user