[I hope I got the attribution correct.] On Wed, Feb 02, 2005 at 10:23:43AM -0800, Stewart Stremler wrote:
> I'd grant a single data structure centric approach (in LISP, > everything is a list, in Python, everything is a Hashtable) I don't know what "LISP" is, but in Common Lisp there is no single data structure. There is the cons cell, and there are singly-linked lists made up of cons cells, but these are only the most minimal structures available. Various built-in functions know how to operate on such cons-based lists or trees, but there are also "sequence" abstractions and various iteration schemes to take advantage of them. As one would expect, Common Lisp supplies vectors, arrays, hash tables, strings, structures, classes, and, with library support, just about any other data structure one can imagine. You can carry on dismissing Lisp for whatever reasons you invent rather than research, but don't let lack of data structures be one of them. -- Steven E. Harris -- KPLUG-List mailing list [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
