better example for splice

svn: r14068
This commit is contained in:
Eli Barzilay 2009-03-12 08:15:39 +00:00
parent 60a421e9ab
commit e366d25a85
2 changed files with 13 additions and 4 deletions

View File

@ -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

View File

@ -1,4 +1,7 @@
start
x y
z
foo();
loop:
if (something) {
blah(stuff);
}
end