[R6RS] R6RS Unicode SRFI controversial issues

Michael Sperber sperber
Sun Jun 19 09:53:16 EDT 2005


Anton van Straaten <anton at appsolutions.com> writes:

> One observation about the here-string syntax as proposed above: 
> Perl-style here-strings (see e.g. [1]) support code like this:
>
>   $data = foo(<<THING, arg2, arg3);
>   This is a long quoted line.
>   THING

How is the beginning of the string determined?

> IIUC, the Scsh/Gambit approach would require something more like this:
>
>   (set! data (foo <<THING
>   This is a long quoted line.
>   THING
>   arg2 arg3))

I think you should have written this

(let ((arg1 <<THING
This is a long quoted line.
THING
      ))
  (set! data foo arg1 arg 2 arg3))

(As with any longer or more complex argument.)

-- 
Cheers =8-} Mike
Friede, V?lkerverst?ndigung und ?berhaupt blabla


More information about the R6RS mailing list