Hi,
Maxime Devos skribis:
> I wondered if some kind of 'lexical use-modules' was possible, with
> sufficient macroology and module reflection, and it looks like it is:
I agree it would be useful.
Just yesterday wrote this (my goal here was to allow dynamic module
loading based on some conditio
Maxime Devos schreef op za 26-03-2022 om 20:21 [+0100]:
> (define-syntax use-module/lexical
> ;; todo: integrate into (use-modules ...)?
> (lambda (s)
> (syntax-case s ()
> ((_ foo)
> (let* ((module-name (syntax->datum #'foo))
> (interface (resolve-interface modul