A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.lispworks.com/documentation/lw71/DV/html/delivery-173.htm below:

10.12 Symbol-name comparison

10.12 Symbol-name comparison

In a non-delivered LispWorks image, the form

(eq (symbol-name 'foo) (symbol-name 'foo))

evaluates to t. This behavior is due to the way symbol names are cached. There is no requirement or guarantee that the results of successive calls to symbol-name be the same (eq) object.

After delivery, LispWorks symbol names are implemented differently such that the eq test above fails. Take care that your application does not rely on identity of symbol names.

Note: eq is not a reliable comparison of strings in general. Use equal for reliable string comparison.

LispWorks Delivery User Guide - 10 Aug 2017


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4