Skip to Content
Practical Common Lisp
book

Practical Common Lisp

by Peter Seibel
April 2005
Beginner to intermediate
528 pages
16h 20m
English
Apress
Content preview from Practical Common Lisp

CHAPTER 11Collections

Like most programming languages, Common Lisp provides standard data types that collect multiple values into a single object. Every language slices up the collection problem a little bit differently, but the basic collection types usually boil down to an integer-indexed array type and a table type that can be used to map more or less arbitrary keys to values. The former are variously called arrays, lists, or tuples; the latter go by the names hash tables, associative arrays, maps, and dictionaries.

Lisp is, of course, famous for its list data structure, and most Lisp books, following the ontogeny-recapitulates-phylogeny principle of language instruction, start their discussion of Lisp's collections with lists. However, that ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Land of Lisp

Land of Lisp

Conrad Barski M.D.
The Go Programming Language

The Go Programming Language

Alan A. A. Donovan, Brian W. Kernighan
The Rust Programming Language, 2nd Edition

The Rust Programming Language, 2nd Edition

Steve Klabnik, Carol Nichols

Publisher Resources

ISBN: 9781590592397Purchase book