🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.clos
Article #163

Optimizer--or my misunderstanding?

#163
From: Jon L White
Date: Fri, 21 Aug 1992 19:00
14 lines
874 bytes
re: (defmethod doit ((self foo)) (funcall (a self) 3))

How about

    (defmethod doit ((self foo)) (funcall (the function (a self)) 3))


In 4.1 FUNCTION is the right type to use(because of ANSI compliance); 
in 4.0, use SYS:PROCEDURE; but you can use SYS:PROCEDURE in either one.

Another possibility is to have a local FTYPE declaration for A.


-- JonL --
Technical Details
Message-ID: <9208211900.AA04689@kuwait.lucid>
Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!sdd.hp.com!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!lucid.com!jonl%kuwait
References: <161ssvINNamf@agate.berkeley.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.clos
Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!sdd.hp.com!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!lucid.com!jonl%kuwait
From: jonl%kuwait@lucid.com (Jon L White)
Subject: Optimizer--or my misunderstanding?
Message-ID: <9208211900.AA04689@kuwait.lucid>
Sender: daemon@cis.ohio-state.edu
Organization: The Ohio State University Department of Computer and Information Science
References: <161ssvINNamf@agate.berkeley.edu>
Date: Fri, 21 Aug 1992 19:00:11 GMT
Lines: 14