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 17Object Reorientation: Classes

If generic functions are the verbs of the object system, classes are the nouns. As I mentioned in the previous chapter, all values in a Common Lisp program are instances of some class. Furthermore, all classes are organized into a single hierarchy rooted at the class T.

The class hierarchy consists of two major families of classes, built-in and user-defined classes. Classes that represent the data types you've been learning about up until now, classes such as INTEGER, STRING, and LIST, are all built-in. They live in their own section of the class hierarchy, arranged into appropriate sub- and superclass relationships and are manipulated by the functions I've been discussing for much of the book up until ...

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