Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!think!barmar From: barmar@think.COM (Barry Margolin) Newsgroups: comp.lang.lisp Subject: Re: package question Message-ID: <36977@think.UUCP> Date: 5 Mar 89 00:26:21 GMT References: <80300009@p.cs.uiuc.edu> Sender: news@think.UUCP Reply-To: barmar@wotan.think.com.UUCP (Barry Margolin) Organization: Thinking Machines Corporation, Cambridge, MA Lines: 19 In article <80300009@p.cs.uiuc.edu> binger@p.cs.uiuc.edu writes: >In Common Lisp, what is the best way to refer to symbols >in a package which does not exist at load-time? (find-symbol "symbol-name" "package-name") For instance, if you want to call the function PACKAGE::NAME, you can do: (funcall (find-symbol "name" "package") args...) If you want to access it as a variable, you can do: (symbol-value (find-symbol "name" "package")) Barry Margolin Thinking Machines Corp. barmar@think.com {uunet,harvard}!think!barmar