[r6rs-discuss] [Formal] Quasiquote should support unquotation within bytes objects.

From: Abdulaziz Ghuloum <aghuloum>
Date: Thu Nov 16 00:23:36 2006

On Nov 15, 2006, at 1:35 PM, Felix Klock wrote:

> It seems natural and useful to support unquotation for the elements of
> a bytes object.
>
> For example:
>
> (let ((a 0) (b 1) (cs '(2 3)))
> `#vu8(,a ,b ,_at_cs))
> ==> #vu8(0 1 2 3)

The problem with the above is that (unquote a), (unquote b) and
(unquote-splicing cs) are not unsigned-8 values; you just cannot put
them in a vu8. Supporting your proposal severely complicates the
reader and the expander since you have to perform macro expansion while
reading; this may not even be possible.

Aziz,,,
Received on Thu Nov 16 2006 - 00:23:36 UTC

This archive was generated by hypermail 2.3.0 : Wed Oct 23 2024 - 09:15:00 UTC