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] |
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))
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] |