Rewrite define-session and define-session-public macros
The byte compiler of Guile-2.x is not able to compile anonymous
functions/closures into constants. Rewriting the macros not to rely
on such constants by moving the local functions into their own
function definitions is the easiest expedient.
Diff:
Passes make, make check and a full make doc.
Patch on countdown for Feb 8th.
As this is a sort-of trivial rewrite with no user-accessible consequences and needed for Han-Wen's work on Guile 2, I am pushing this early. I'd have done it sooner but had too much on the plate. Sorry for that.
Pushed to staging as
commit c066a53f9e3a4809283ba2934a2e8f1e6c44211b
Author: David Kastrup dak@gnu.org
Date: Tue Feb 4 22:02:20 2020 +0100