🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.clos
Article #377

adding methods to a class

#377
From: Al Globus
Date: Fri, 11 Jan 1991 01:57
10 lines
1112 bytes
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.
Technical Details
Message-ID: <GLOBUS.91Jan10175716@wk208.nas.nasa.gov>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!ucsd!ucbvax!agate!eos!data.nas.nasa.gov!data!globus

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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: <GLOBUS.91Jan10175716@wk208.nas.nasa.gov>
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