This is the mail archive of the guile@cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: here-strings a la SCSH


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]