Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Statement (list A: 1) does not work

1 view
Skip to first unread message

Cecil Westerhof

unread,
Dec 17, 2009, 5:48:05 AM12/17/09
to

I read that with '(list a: 1)' you can make a property list. I tried
this with clisp (2.39), but I got:
*** - READ uit #<INPUT CONCATENATED-STREAM #<INPUT STRING-INPUT-STREAM> #<IO TERMINAL-STREAM>>: er is geen package met naam "A"
Mogelijkheden om opnieuw te beginnen:
ABORT :R1 ABORT

What am I doing wrong?

--
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof

jos...@lisp.de

unread,
Dec 17, 2009, 6:09:54 AM12/17/09
to

(list :a 1)

Cecil Westerhof

unread,
Dec 17, 2009, 6:28:10 AM12/17/09
to
"jos...@corporate-world.lisp.de" <jos...@lisp.de> writes:

> On 17 Dez., 11:48, Cecil Westerhof <Ce...@decebal.nl> wrote:
>> I read that with '(list a: 1)' you can make a property list. I tried
>> this with clisp (2.39), but I got:
>>     *** - READ uit #<INPUT CONCATENATED-STREAM #<INPUT STRING-INPUT-STREAM> #<IO TERMINAL-STREAM>>: er is geen package met naam "A"
>>     Mogelijkheden om opnieuw te beginnen:
>>     ABORT          :R1      ABORT
>>
>> What am I doing wrong?
>

> (list :a 1)

I did not look right. This is the way to work. Thanks.

Tim X

unread,
Dec 17, 2009, 6:00:18 PM12/17/09
to
Cecil Westerhof <Ce...@decebal.nl> writes:

> I read that with '(list a: 1)' you can make a property list. I tried
> this with clisp (2.39), but I got:
> *** - READ uit #<INPUT CONCATENATED-STREAM #<INPUT STRING-INPUT-STREAM> #<IO TERMINAL-STREAM>>: er is geen package met naam "A"
> Mogelijkheden om opnieuw te beginnen:
> ABORT :R1 ABORT
>
> What am I doing wrong?

Possibly a touch of dyslexia :)

It should be (list :a 1) not (list a: 1). The error is telling you clisp
couldn't understand what it read. It thinks the A: is part of a
reference to something in a package called A, but there is no package
caled A.


--
tcross (at) rapttech dot com dot au

0 new messages