Re: Lexical syntax for boxes
Marc Feeley 09 Nov 2022 16:40 UTC
> On Nov 9, 2022, at 11:34 AM, Lassi Kortela <xxxxxx@lassi.io> wrote:
>
> From the SRFI: "Racket, Gambit, SISC, Chez, and Chicken all support the lexical syntax #&datum to create a literal box"
>
> The current versions of Gambit, Chez, and Chicken raise a syntax error on #&123
>
> Racket works as advertised. I'm not able to test SISC.
>
>
In Gambit, boxes are not self evaluating so you need to quote them:
$ gsi
Gambit v4.9.4-39-g9a887b80
> '#&123
#&123
Marc