Hi Stefan,

Stefan Israelsson Tampe <stefan.ita...@gmail.com> skribis:

> (define f (lambda (n) (if (= n 0) (fluid-ref a) (with-fluids ((a n)) (f (-
> n 1))))))
>
> with the modified VM:
> scheme@(guile-user)> (f 10000000)
> $2 = 1
>
> with the old VM, it craches. It works!

Hmm, I can’t see how ‘with-fluids’ or ‘parameterize’ could be
tail-recursive given that it uses ‘dynamic-wind’.  Am I missing
something?

Ludo’.


Reply via email to