Re: New draft (#6) and last call for comments on SRFI 266: The expr syntax Marc Nieper-Wißkirchen (30 Aug 2026 17:42 UTC)
Re: New draft (#6) and last call for comments on SRFI 266: The expr syntax Marc Nieper-Wißkirchen (31 Aug 2026 07:01 UTC)
Re: New draft (#6) and last call for comments on SRFI 266: The expr syntax Marc Nieper-Wißkirchen (01 Sep 2026 08:28 UTC)
Re: New draft (#6) and last call for comments on SRFI 266: The expr syntax Marc Nieper-Wißkirchen (01 Sep 2026 10:09 UTC)
Re: New draft (#6) and last call for comments on SRFI 266: The expr syntax Marc Nieper-Wißkirchen (01 Sep 2026 12:47 UTC)
Re: New draft (#6) and last call for comments on SRFI 266: The expr syntax Marc Nieper-Wißkirchen (01 Sep 2026 12:14 UTC)
Re: New draft (#6) and last call for comments on SRFI 266: The expr syntax Marc Nieper-Wißkirchen (01 Sep 2026 14:42 UTC)
Re: New draft (#6) and last call for comments on SRFI 266: The expr syntax Marc Nieper-Wißkirchen (04 Sep 2026 19:46 UTC)
Re: New draft (#6) and last call for comments on SRFI 266: The expr syntax Peter McGoron (06 Sep 2026 23:59 UTC)

Re: New draft (#6) and last call for comments on SRFI 266: The expr syntax Peter McGoron 06 Sep 2026 23:55 UTC

Closest thing is probably free-identifier=?:

 > Id1 and id2 must be identifiers. The free-identifier=? procedure
returns #t if and only if the two identifiers would resolve to the same
binding if both were to appear in the output of a transformer outside of
any bindings inserted by the transformer. (If neither of two like-named
identifiers resolves to a binding, i.e., both are unbound, they are
considered to resolve to the same binding.)

In R6RS, you cannot refer to a location separate from an identifier, but
you can treat an identifier as a pointer to such a location.

-- Peter McGoron

On 9/6/26 17:11, jobol wrote:
> It could be easy to achieve it based on the current implementation. I
> just need a function that takes 2 arguments: (1) a syntax object and
> (2) a location, and that returns true if the syntax object is an
> identifier bound to the location in the context of the syntactic
> expansion.
>
> Does such a function exist? If yes, what is its name. If no, why?