Re: Question: Tokenizing CDATA attribute values

Subject: Re: Question: Tokenizing CDATA attribute values
From: Dave Love <d.love@xxxxxxxx>
Date: 17 Jun 1997 15:43:17 +0100
>>>>> "Paul" == Paul Prescod <papresco@xxxxxxxxxxxxxxxxxxxxxxxxx> writes:

 Paul> Actually the "string" procedure does convert an array of chars
                                                    ^^^^^^^^^^^^^^^^^
??

 Paul> to a string and it is implemented in Jade.

Here's a definition of the missing list->string:
 (define (list->string xs)
   (apply string xs))

i.e. (list->string '(#\f #\o #\o)) <=> (string #\f #\o #\o)

This seems a decent example of `apply' and `#!rest' forms.

 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread