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