⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 refq.html

📁 A very small LISP implementation with several packages and demo programs.
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>Q</title><link rel="stylesheet" href="doc.css" type="text/css"></head><body><h1>Q</h1><dl><dt><a name="quote"><code>(quote . any) -> any</code></a><dd>Returns <code>any</code> unevaluated. The reader recognizes the single quotechar <code>'</code> as a macro for this function. See also <code><ahref="refL.html#lit">lit</a></code>.<p><pre><code>: 'a-> a: '(foo a b c)-> (foo a b c): (quote (quote (quote a)))-> ('('(a)))</code></pre><dt><a name="queue"><code>(queue 'var 'any) -> any</code></a><dd>Implements a queue using a list in <code>var</code>. The <code>any</code>argument is (destructively) concatenated to the end of the value list. See also<code><a href="refP.html#push">push</a></code>, <code><ahref="refP.html#pop">pop</a></code> and <code><ahref="refF.html#fifo">fifo</a></code>.<p><pre><code>: (queue 'A 1)-> 1: (queue 'A 2)-> 2: (queue 'A 3)-> 3: A-> (1 2 3): (pop 'A)-> 1: A-> (2 3)</code></pre><dt><a name="quit"><code>(quit ['any ['any]])</code></a><dd>Stops current execution. If no arguments are given, all pending <code><ahref="refF.html#finally">finally</a></code> expressions are executed and controlis returned to the top level read-eval-print loop. Otherwise, an error handleris entered. The first argument can be some error message, and the second mightbe the reason for the error. See also <code><a href="ref.html#errors">ErrorHandling</a></code>.<p><pre><code>: (de foo (X) (quit "Sorry, my error" X))-> foo: (foo 123)                                  # 'X' is bound to '123'123 -- Sorry, my error                       # Error entered? X                                          # Inspect 'X'-> 123?                                            # Empty line: Exit:</code></pre></dl></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -