What is Expressiveness in a Computer Language
Raffael Cavallaro
raffaelcavallaro at pas-d'espam-s'il-vous-plait-mac.com
Thu Jun 15 01:58:24 EDT 2006
On 2006-06-14 16:36:52 -0400, Pascal Bourguignon <pjb at informatimago.com> said:
> In lisp, all lists are homogenous: lists of T.
CL-USER 123 > (loop for elt in (list #\c 1 2.0d0 (/ 2 3)) collect
(type-of elt))
(CHARACTER FIXNUM DOUBLE-FLOAT RATIO)
i.e., "heterogenous" in the common lisp sense: having different dynamic
types, not in the H-M sense in which all lisp values are of the single
union type T.
More information about the Python-list
mailing list