[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lazy string-append and HTML generation

This page is part of the web mail archives of SRFI 13 from before July 7th, 2015. The new archives for SRFI 13 contain all messages, not just those from before July 7th, 2015.

Actually, this is what the XML collection already does.  You can
write, say,

  (p ()
    "There is already a "
    "well-developed theory of "
    (em () "expressive")
    " language constructs")

and the renderer decides what to do with the multiple strings.
(xml->string concatenates them, a direct renderer of the sort Oleg
mentions can write them straight out to a port).