Re: Memory-lapse CL question about eval and let



You misunderstand, I'm not that much of a newbie to Lisp, just to CL. I
understand and am using &optional and &rest. I then wanted to add a layer on
top where the user specifies the arguments. After this I had the &rest part
in a list and simply needed to call the function, so I just glued the
optional bits onto the end of the fixed arguments and did an eval (this was
supposed to be a 5 minute hack to get someone something), only to be bitten
by the scope issue. (Many thanks for the explaination on that, BTW.)

The solution was trivial, I just used apply.

Jon
.



Relevant Pages

  • Re: Interesting developments since "Beating the averages"?
    ... question answers with one of the stock, non-answer responses, and more regulars use more responses if the newbie is particularly stubborn. ... Some don't even understand that it is not necessarily whinyness but concern for Lisp. ... Some even dispute that wide adoption of a programming language ... Newbies and idiots have an especially hard time with Lisp, ...
    (comp.lang.lisp)
  • Re: Why Lisp is too hard for me to use
    ... me heaps of trouble since asdf-install doesn't seem to be installed by default ... The problem is not firing up the lisp systems - they all work. ... WHAMMO - Welcome to Newbie Hell. ... provide some salient examples for the newbies who find plunging into libraries ...
    (comp.lang.lisp)
  • Re: Why Lisp is too hard for me to use
    ... I'm a newbie - rank amateur all the way, ... pkg-desc file had told me *exactly* how to call the bundle from lisp, ... this is not a makefile like you know it from ... "SYS":TYPE NIL:VERSION NIL) ...
    (comp.lang.lisp)
  • Re: dot meaning
    ... when explaining something for the newbie. ... | should present no problem to readers, since the form (quote foo) ... At least, among experienced Lisp users, it is so. ... | Evaluation times are always confusing. ...
    (comp.lang.lisp)
  • Re: Whats special about Lisp, in practice
    ... |newbie: What would you say is special about Lisp, ... |hacker: One thing is that symbolic data are ... want to write a Lisp interpreter. ... |> (func add) ...
    (comp.lang.scheme)