T
Ted Zlatanov
TZ> Lisp pretty much is all about linked lists, they are built into
TZ> everything.
UG> sure but other than car and cdr (great names! and i know why) and dotted
UG> pair, it doesn't have any builtin support for linked lists. you still
UG> need to work at making them with primitives.
s> In lisp a list can be built from cons cells. It is not a data type in
s> lisp any more than in C.
I really don't know how much more "built-in" linked lists can be than
what you find in Lisp, considering that code and data both are lists and
treated as such by the language, and you can construct either
dynamically. At this point you're arguing that with Lisp you have an
assembled band saw (vs. Perl's Swiss Army knife or Java's diesel-powered
hammer-screwdriver) but you can't use it until you plug it in. Well,
yeah, but that is not an argument worth having.
Ted
TZ> everything.
UG> sure but other than car and cdr (great names! and i know why) and dotted
UG> pair, it doesn't have any builtin support for linked lists. you still
UG> need to work at making them with primitives.
s> In lisp a list can be built from cons cells. It is not a data type in
s> lisp any more than in C.
I really don't know how much more "built-in" linked lists can be than
what you find in Lisp, considering that code and data both are lists and
treated as such by the language, and you can construct either
dynamically. At this point you're arguing that with Lisp you have an
assembled band saw (vs. Perl's Swiss Army knife or Java's diesel-powered
hammer-screwdriver) but you can't use it until you plug it in. Well,
yeah, but that is not an argument worth having.
Ted