Package: closure-html

Macro with-output-sink

Lambda List

with-output-sink ((var) &body body)


  • var -- the variable name, a symbol
  • body -- an implicit progn

Return Value

the value of body


Bind a variable to the current serialization sink.

Execute body as an implicit progn with var bound to a serialization sink that body can safely call HAX functions on.

To be used in the extent of an with-html-output invocation.

See also