This is the mail archive of the
guile@cygnus.com
mailing list for the Guile project.
Re: here-strings a la SCSH
- To: Valentin Kamyshenko <val@kamysh.materials.kiev.ua>
- Subject: Re: here-strings a la SCSH
- From: Michael Livshin <mike@olan.com>
- Date: 04 Jul 1999 21:38:09 +0200
- Cc: guile@sourceware.cygnus.com
- Organization: who? me?
- References: <85iu8ctwnr.fsf@alucard.one.way> <m2aetcl6g7.fsf@kamysh.materials.kiev.ua>
- Reply-to: Michael Livshin <mike@olan.com>
Valentin Kamyshenko <val@kamysh.materials.kiev.ua> writes:
> Hello, Michael:
>
> >>>>> "Michael" == Michael Livshin <mike@olan.com> writes:
>
> Michael> so here it is, maybe you will find it useful anyway.
> First, I want to say, that, to my opinion, such package may be very
> useful and convenient. guile-scsh is too heavy to load it each time.
>
> But, I'm sorry for stupid question, I do not understand, how to use
> it :). In scsh I just write
> (display #<<EOF
> First string
> Second string
> Third string
> EOF
> )
> and it works. With here-strings module all the analogues which came to
> my minds
> ( (display <EOF....
> (display < EOF
> (display #<EOF....
> (display #< EOF....
> (display #\<EOF....
> (display #\< EOF....
> and so on)
> do not work.
Yeah, the multi-line here-strings don't seem to work in the REPL.
Beats me why.
They do work in batch mode tho, at least for me ;).
> --
> Valentin.
-- m