Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Their point is just that the range of available identifiers is larger, but the semantic overloading of certain characters makes it easy to write code that <em>looks</em> like it might be doing something weird. </p> <p>If you take a closer look at the first sample,</p> <pre><code>(lambda (*&lt;8-]= *&lt;8-[= ) (or *&lt;8-]= *&lt;8-[= )) </code></pre> <p>and rename the variable <code>*&lt;8-]=</code> to <code>a</code>, and <code>*&lt;8-[=</code> to <code>b</code>, we see that it's a pretty simple function:</p> <pre><code>(lambda (a b) (or a b)) </code></pre> <p>In the second case, it's just making the point that since things like <code>+</code>, <code>&lt;</code>, and so on aren't special operators or anything, they're just symbols with the names <code>"+"</code> and <code>"&lt;"</code>, you can use them as variable names. Again, we can rename variables and turn </p> <pre><code>(defun :-] (&lt;) (= &lt; 2)) </code></pre> <p>into </p> <pre><code>(defun :-] (a) (= a 2)) </code></pre> <p>This one is rather unusual, since the colon prefix indicates a keyword (a special sort of self-evaluating constant in Common Lisp), but SBCL seems to handle it:</p> <pre><code>CL-USER&gt; (defun :-] (&lt;) (= &lt; 2)) :-] CL-USER&gt; (:-] 2) T CL-USER&gt; (:-] 3) NIL </code></pre> <p>Putting function definitions on keyword symbols is somewhat unusual, but it's not unheard of, and can be useful. E.g., see <a href="http://xach.livejournal.com/301076.html" rel="nofollow">Naming functions with keywords</a>. </p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload