Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!ucsd!ucbvax!agate!eos!data.nas.nasa.gov!data!globus From: globus@nas.nasa.gov (Al Globus) Newsgroups: comp.lang.clos Subject: adding methods to a class Message-ID: Date: 11 Jan 91 01:57:16 GMT Sender: news@nas.nasa.gov Reply-To: globus@nas.nasa.gov Distribution: comp.clos Organization: Applied Research Office, NASA Ames Research Center Lines: 10 I'm just starting to learn CLOS with an implementation of PCL and Allegro Common Lisp. My personal model of object oriented programming is the SMALLTALK model since I've done a fair amount of programming in Objective-C. I only have the 'Common Lips Object System Specification' for documentation. For the life of me I can't figure out how to add a method to a class. Basically, I don't really understand the CLOS generic functions I guess. The forms that one would think might add a method to a class, e.g., add-method, don't even take a class as an argument. Please help with explainations or, better yet, simple code examples. Thanx.