Path: utzoo!attcan!uunet!samsung!rex!ukma!dftsrv!mimsy!midway!gargoyle!ddsw1!olsa99!ctk1!undeed!unpcs From: unpcs@Daisy.EE.UND.AC.ZA (UNP Comp Sci) Newsgroups: comp.object Subject: SCOOPS methods don't return the object Summary: Scheme methods have no way of returning the object itself Keywords: object lisp scheme Message-ID: <1990Dec10.105542.26173@Daisy.EE.UND.AC.ZA> Date: 10 Dec 90 10:55:42 GMT Distribution: comp Organization: Univ. Natal, Durban, S. Africa Lines: 13 I have found, much to my frustration, that the object oriented extensions to scheme lisp (scoops) do not allow for methods to return the object itself. Consider (send (make-instance some-class) msg args) One would like this to evaluate to the object, once modified by msg. However a method can't (or can it?) refer to the object on which it is working. I am using PC Scheme from TI. Any comments? - Bobby Abraham, Dept of Computer Science, University of Natal, Pmb