guile-devel
[Top][All Lists]
Advanced

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

Re: Making apostrophe, backtick, etc. hygienic?


From: Mark H Weaver
Subject: Re: Making apostrophe, backtick, etc. hygienic?
Date: Tue, 01 Sep 2015 22:55:00 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

address@hidden (Taylan Ulrich "Bayırlı/Kammer") writes:

> How about making 'foo turn into something like (__quote__ foo), and
> similar for `foo, #'foo, etc.?

This is part of the standard behavior of 'read', e.g. section 4.3.5 of
the R6RS, and has been for over 50 years.  Lots of existing code assumes
this.  Changing it now is out of the question.

Also, the subject of this thread is misleading, because your proposal
would not make these reader abbreviations hygienic.

> Where __quote__ is just a synonym to quote, and the original works
> too.

Not when some arbitrary code looks at the result of 'read', or inside a
quoted datum like '(nested quote 'x).

     Mark



reply via email to

[Prev in Thread] Current Thread [Next in Thread]