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

Re: here strings and symbols

This page is part of the web mail archives of SRFI 75 from before July 7th, 2015. The new archives for SRFI 75 are here. Eventually, the entire history will be moved there, including any new messages.



Sebastian Egner <sebastian.egner@xxxxxxxxxxx> writes:

> This exactly is my point: The example you gave is awkward because the
> 'here identifiers' you use are multi-line. With one-liners I could
> print the stuff like this:
>
> (define |+ps:foo+| (|+ps:baz+|))

So is it fair to say that you don't want "here symbols" but rather an
alternative to | ... | for writing down identifiers?

It still seems to me you're doing a simple kind of encoding, albeit a
simple one.  After all, you still need to choose a delimiter character
(rather than a delimiter string as with here strings) that doesn't
appear in the identifier.  If that's the case, why is it a problem to
simply let WRITE-on-a-string-port (as suggested by Matthew) figure out
the quoting for you?

-- 
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla