On Sun, Feb 2, 2020 at 4:28 PM <d...@gnu.org> wrote: > > Please see Taylan's reply to the guile-devel list, which gives a > succinct > > explanation of why inner functions in macros can never work in the > Guile 2.x > > compiler. So we either forego compilation (at a 1.5 sec startup cost) > or we > > rewrite the macros to stop using inner functions. > > That's what I am trying right now, but you cannot quote outer functions > as a value either (the problem is the value, not the innerness) so you > need to do it by name and I would like not to have to export it, so I > try with (@@ guile-user define-session-internal) but haven't found the > right incantation yet. Still fiddling. If it cannot be avoided, it > will end up as an exported define-session-internal .
I guess we would have to inline the function (effectively changing it from function to macro.) -- Han-Wen Nienhuys - hanw...@gmail.com - http://www.xs4all.nl/~hanwen