Usage with macros Jakub T. Jankiewicz (25 Jan 2025 13:38 UTC)
Re: Usage with macros Jakub T. Jankiewicz (25 Jan 2025 14:34 UTC)
Re: Usage with macros Wolfgang Corcoran-Mathe (25 Jan 2025 17:57 UTC)
Re: Usage with macros Marc Nieper-Wißkirchen (25 Jan 2025 18:11 UTC)
Re: Usage with macros Jakub T. Jankiewicz (25 Jan 2025 20:25 UTC)
Re: Usage with macros Marc Nieper-Wißkirchen (25 Jan 2025 20:30 UTC)
Re: Usage with macros Jakub T. Jankiewicz (26 Jan 2025 00:01 UTC)

Re: Usage with macros Jakub T. Jankiewicz 26 Jan 2025 00:01 UTC


On Sat, 25 Jan 2025 21:29:48 +0100
Marc Nieper-Wißkirchen <xxxxxx@gmail.com> wrote:
>
> This I understand; my question is why one would ask for lexical syntax
> instead of just calling a procedure as in the (gensym) example.
>
> The SRFI exports (generate-uninterned-symbol) as a replacement for
> (gensym) so you can just put this ordinary procedure call in place of
> (gensym).

I have no idea. For me it make more sense to create a function, maybe because
it's shorter than (generate-uninterned-symbol) since it's not exactly the
same as (gensym). It's replacement only in specific conditions. gensym don't
need to create uninterned symbol, it can use different way of making the
symbols unique.

--
Jakub T. Jankiewicz, Senior Front-End Developer
https://jcubic.pl/me
https://lips.js.org
https://koduj.org