lazy string-append and HTML generation oleg@xxxxxx (09 Feb 2000 20:50 UTC)
lazy string-append and HTML generation Shriram Krishnamurthi (09 Feb 2000 20:59 UTC)

lazy string-append and HTML generation Shriram Krishnamurthi 09 Feb 2000 20:59 UTC

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).

'shriram