This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GSOC | Extending Common Lisp support


On 06/11/2012 01:13 PM, Charles Turner wrote:
I'm finding MAKE-SYMBOL a bit mysterious, I "blindly" followed the
spec and chose this as a definition, all the tests I could find
passed:

(defun make-symbol (x)
   (invoke-static gnu.mapping.Symbol 'makeUninterned x))

That seems the right thing.


But I'm struggling to see what the motivation for MAKE-SYMBOL is, when
do you use such a function?

People have historically used uninterned symbols when they want a unique object distinct from all other objects. It's like 'new Object()', but with a nice printable name. -- --Per Bothner per@bothner.com http://per.bothner.com/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]