On Wed, Aug 27, 2025 at 12:44 AM <[email protected]> wrote:

> The same thing happened when I had a more complex key which is where
> I first discovered it:
>
> ./s7load "(define X (hash-table)) (define B 'b) (set! (X '(a b)) 'foo) 
> (display (X '(a ,B)))(newline)"
> #f
>
> > (unquote b) ; no error because it's not evaluated
>
> This is likely to be what's happening and again I'm not sure whether
> this is a bug or expected behaviour from the quote operator.

This is expected behaviour in any lisp.

Don't you want a backquote, insted:   `(a ,B)   ?

P.

_______________________________________________
Cmdist mailing list
[email protected]
https://cm-mail.stanford.edu/mailman/listinfo/cmdist

Reply via email to