rename `#:splice` to `#:splice?`

pull/111/head
Matthew Butterick 8 years ago
parent c7617e8aa4
commit e9a6fd2673

@ -1 +1 @@
1460992088
1461035646

@ -4,7 +4,7 @@
<title>select['h1 doc] by T. S. Eliot</title>
<link rel="stylesheet" type="text/css" media="all" href="styles.css" />
</head>
<body>(->html doc #:splice #t)
<body>(->html doc #:splice? #t)
(define prev-page (previous here))
when/splice[prev-page]{
<div id="prev"> <a href="◊|prev-page|">(select 'h1 prev-page)</a></div>}

@ -840,7 +840,7 @@ In this project, we want to end up with HTML, so our source files will be called
<title>◊select['h1 doc] by T. S. Eliot</title>
<link rel="stylesheet" type="text/css" media="all" href="styles.css" />
</head>
<body>◊(->html doc #:splice #t)
<body>◊(->html doc #:splice? #t)
◊(define prev-page (previous here))
◊when/splice[prev-page]{
<div id="prev">← <a href="◊|prev-page|">◊(select 'h1 prev-page)</a></div>}

Loading…
Cancel
Save