This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: eval inside let


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]