thank you, i will try the old macro form.
Damien
On Mon, Apr 24, 2023 at 4:24 PM Robby Zambito
wrote:
>
> Whoops I had a duplicate export from when I was testing with things, but
> you get the idea :)
>
Hi Damien
The issue you are running into is related to macro hygiene. If you
implement eval-var using the non-hygienic define-macro, it works how you
want.
(define-module (Scheme+)
#:use-module (ice-9 local-eval)
#:re-export (local-eval the-environment)
#:export (eval-var eval-var))
(def
hello,
i need to local eval some vars for an infix evaluator but i can not find a
way to use local eval in my context,here is an example that illustrate my
problem:
;; file Scheme+.scm
(define-module (Scheme+)
#:use-module (ice-9 local-eval)
#:export (eval-var))
(include-from-path "test-loca