Hi,

"Maciek Godek" <[EMAIL PROTECTED]> writes:

> I've been wondering if there's any way to recall
> (or get inside) an environment of a closure (= to
> directly access variables bound to a closure)

Yes, with `the-environment':

  guile> ((lambda (a b) (the-environment)) 2 3)
  (((a b) 2 3) #<eval-closure b7c6dcf8>)

But don't do that, since the representation of environments could
eventually change.

Thanks,
Ludovic.



Reply via email to