Групи новин: comp.lang.lisp
Від: Anti Vigilante <antivigila...@pyrabang.com>
Дата: Fri, 06 Nov 2009 21:33:05 -0700
Місцевий час: Сб 7 Лис 2009 06:33
Тема: Re: How to set the value?
On Sat, 2009-11-07 at 05:15 +0100, Pascal J. Bourguignon wrote: wouldn't setf also cause interesting effects? > vj <harik...@gmail.com> writes: > > I have been programming in LISP for couple of months now. > To really answer to your following question, we would have to know > Is that Common Lisp, ISOLisp, LeLisp, Scheme, MacLisp, emacs lisp, > > Today, came across a new notation and had a question on that. > > I have an access to an "object" [i don't know what the technical term > > (setq some_var data.some_val) > > by doing the above, i can read the value into some_var. > Assuming it's Common Lisp, and no special reader trick is active, > In either case, you can get its value by evaluating directly > Actually, since you've not shown us that you defined the variable > > but the following piece of code is not working and i am not sure if i > > (setq read_var data.some_val) # read the value > > why would this be? > It could occur that data.some_val is a symbol macro that expands to an > In any case you are not giving us the context, we don't even know what Ви мусите увійти перед публікацією повідомлень.
Аби надіслати допис, будь ласка, спочатку приєднайтеся до цієї групи.
Будь ласка, поновіть своє прізвисько на сторінці налаштування передплати перед тим, як надіслати свій допис.
У вас немає права надсилання дописів до цієї групи.
| ||||||||||||||