You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7 lines
262 B
Racket
7 lines
262 B
Racket
9 years ago
|
#lang racket/base
|
||
|
(require pollen/decode pollen/misc/tutorial txexpr)
|
||
|
(define (root . elements)
|
||
|
(txexpr 'root null (decode-elements elements
|
||
|
#:txexpr-elements-proc decode-paragraphs
|
||
|
#:string-proc (compose smart-quotes smart-dashes))))
|
||
|
(provide root)
|