This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: eval inside let
- To: guile at sourceware dot cygnus dot com
- Subject: Re: eval inside let
- From: Ceri Storey <cez at nomorespam dot freeserve dot co dot uk>
- Date: Sat, 13 Nov 1999 09:24:56 +0000
- Cc: Klaus Schilling <Klaus dot Schilling at munich dot netsurf dot de>
- References: <19991112190545.A12416@mandelbrot.somewhere> <m11mONP-000H3zC@debian>
Thanks. I tried that, but it replies:
guile> (let ((foo 'bar)) (eval '(display foo)))
ERROR: While evaluating arguments to display in expression (display foo):
ERROR: Unbound variable: foo
ABORT: (misc-error)
guile> (let ((foo 'bar)) (local-eval '(display foo)))
ERROR: In procedure local-eval in expression (local-eval (quote #)):
ERROR: Wrong type argument in position 1: (display foo)
ABORT: (wrong-type-arg)
I'd guess i'm missing something here. Any help would be much appreciated.
on Fri, Nov 12, 1999 at 10:36:59PM +0100, Klaus Schilling denied that:
}Ceri Storey writes:
} > I was wondering do you get (eval) to work in the current environment,
} > as opposed to the top-level? I was playing around with guile-gtk, and
}
}Use local-eval instead
}
}Klaus Schilling
--
-----------| Ceri Storey
\|/ | http://www.nomorespam.freeserve.co.uk/
(O O) | {for geek code also}
_o0O(_)O0o_| cez@nomorespam.freeserve.co.uk