Hi,

Am 28.06.2009 um 07:45 schrieb Handkea fumosa:

It's list? that isn't.

No. list? is not broken. Every list is a seq, but not
every seq is a list.

Consider: (cons 0 (iterate inc 1))

This is no list! It's a sequence. Why should list?
return true?

In Clojure there is no such thing as a cons cell.
There is only an abstraction of a cons cell where
the second part must implement again the
sequence abstraction.

If you need a cons cell, use a two-element vector
or a two-element list.

Please: If you want to program CL in Clojure...
Don't do it. Clojure is different. Claiming parts
of Clojure are broken because they don't behave
like something is else doesn't make sense and
hence leads nowhere.

If you want to try Clojure, make up your mind
and learn Clojure's environment. Thinking
Python/Perl/CL/whatever in Clojure will only
hinder your progress with Clojure.

If you find a bug, where a function violates its
documented contract, please report it.

Sincerely
Meikel

PS: This is no Clojure specific issue. Trying to
learn Python and program it like one would in
Clojure, also doesn't work...

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to