[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: inlined "here" strings

This page is part of the web mail archives of SRFI 75 from before July 7th, 2015. The new archives for SRFI 75 contain all messages, not just those from before July 7th, 2015.

Michael Sperber wrote:

bburger@xxxxxxxxxxx writes: [about C#'s @"..." notation]

But that still means " can't appear in the string, right?  That would
mean your suggestion solves a different problem than here strings,
which are for encoding strings that *do* contain ".
There are ways around that. If you limit yourself to single char terminators, then you can do things like having the first char be the quote char, e.g.

#@"no quotes here"
#@!no bangs here!

This becomes multiline if you include newlines:

#@"a 2 line