Am So., 12. Feb. 2023 um 20:52 Uhr schrieb Taylan Kammer <taylan.kam...@gmail.com>: > > On 12.02.2023 19:46, wolf wrote: > > > 1. When does order matter? What is going on here? > > The order matters in this case because the SRFI-9 implementation in Guile > defines > syntax (macros) rather than just variables bound to procedures.
This is a huge problem of Scheme in general, that you can not distinguish between procedures and macros just by looking at the code. You have to know it or you have to look it up in the manual. You also can not ask Scheme about macros, because macros are not first-class-citizens. This might be interesting: https://matt.might.net/articles/metacircular-evaluation-and-first-class-run-time-macros/