[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: More info on my question
From: |
Neil Jerram |
Subject: |
Re: More info on my question |
Date: |
19 Oct 2001 17:01:03 +0100 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
>>>>> "tomas" == tomas <address@hidden> writes:
tomas> On Thu, Oct 18, 2001 at 07:15:35PM -0600, Robert A. Uhl
tomas> wrote:
>> I'm sorry--I should have stated that I am using code in the
>> form of:
>>
>> SCM owner_obj = SCM_CAR(owners_list);
>>
>> The resulting owner_obj is the symbol whose value I cannot
>> dereference. owners_list was passed to my function by guile;
>> it should be the '(planet) term in (trav-mapobject-set-owner
>> star '(planet))
>>
tomas> Hmmm. It looks as if you are passing the symbols. Thus you
tomas> get the symbols. Try not quoting the list, i.e. say for
tomas> example
tomas> (trav-mapobject-set-owner (list planet asteroid))
tomas> instead of
tomas> (trav-mapobject-set-owner '(planet asteroid))
You can also use quasi-quoting and unquoting to get the same effect:
(trav-mapobject-set-owner `(,planet ,asteroid))
Neil