[plt-scheme] literal html data in servlets

From: Hans Oesterholt-Dijkema (hdnews at gawab.com)
Date: Fri Aug 19 15:11:30 EDT 2005

You've got a good point there. So:

(define (make-literal . strings)
    (string-append "-->" (apply string-append strings) "<--"))

might be a better form?

>In the second form you can simply replace `defsubst' with a `define'
>and it will work the same.  This thing makes it very easy to replace
>functions with macros, and from this I learned that it is not always
>worth it to do that -- it's tricky to know when you actually buy
>performance and how much of it, and sometimes you get into weird
>situations that happen because it's a macro and not a function.
>  
>



Posted on the users mailing list.