home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ogicse!uwm.edu!ux1.cso.uiuc.edu!cs.uiuc.edu!uiucdcs!kaplan
- From: kaplan@marula.cs.uiuc.edu (Simon Kaplan)
- Newsgroups: comp.lang.scheme
- Subject: SCOOPS and "self"
- Message-ID: <KAPLAN.92Nov9215123@marula.cs.uiuc.edu>
- Date: 10 Nov 92 03:51:23 GMT
- Article-I.D.: marula.KAPLAN.92Nov9215123
- Sender: news@cs.uiuc.edu
- Distribution: comp
- Organization: University of Illinois at Urbana-Champaign
- Lines: 24
-
- I'd like to be able, in scoops, for an object to be able to refer to
- itself. This would allow one to write methods on a class in which the
- objects return themselves as results, or pass themselves as arguments to
- other methods, and so on. The authors of SCOOPS make the argument that
- such facilities are not necessary, but I cannot see how to avoid an
- equivalent of SmallTalk's self, c++'s this, etc.
-
- Since Scoops does not have a "self" in object right now, if anyone can help
- me modify scoops to do this I'd be most greatful. I've tried some obvious
- (to me) things, but have not seemed to get it to work.
-
- If anyone has working code that does this, that would be even better.
- Ideally we need it for PC Scheme and MIT CScheme 7.x.
-
-
- thanks
- Simon Kaplan
- --
- Simon Kaplan ConversationBuilder Project
- Human-Computer Interaction Laboratory
- Department of Computer Science kaplan@cs.uiuc.edu
- University of Illinois at Urbana-Champaign uiucdcs!kaplan@uunet.uu.net
- 1304 W. Springfield Ave phone: +1 217 244 0392
- Urbana Illinois 61801, USA fax: +1 217 333 3501
-