search:common lisp case相關網頁資料

    • www.n-a-n-o.com
      LISP uses the self-evaluating symbol nil to mean false. Anything other than nil ... The LISP case statement is like a C switch statement: > (setq x 'b) B > (case x (a ...
      瀏覽:383
    • www.cs.cmu.edu
      Common Lisp also provides the dispatching constructs case and typecase, which are often more convenient than cond. [Special Form] if test then [else].
      瀏覽:368
瀏覽:1355
日期:2026-04-23
In this chapter, we will learn how to make decisions using Common LISP .... CASE is a Common LISP macro that implements multiple test-consequent clauses....
瀏覽:1484
日期:2026-04-17
I'm trying to use a case statement to make some code more readable. .... Common Lisp expects for CASE the item to test to be an atom or a list ......
瀏覽:727
日期:2026-04-20
You don't need to quote the symbols in CASE . Symbols in CASE clauses are not evaluated. (case tile-type (wall ...) (door ...)) WALL and DOOR are ......
瀏覽:527
日期:2026-04-24
By default the reader in CL is case converting, all escaped characters get turned into uppercase. You can customize this behavior with readtable-case ......
瀏覽:968
日期:2026-04-24
Common Lisp has a couple of functions to control the case of a string. * (string- upcase "cool") "COOL" * (string-upcase "Cool") ......
瀏覽:773
日期:2026-04-22
22 Jun 2013 ... A switch is spelled CASE in Lisp (see below).] ... Also, since switch statements are so common, they tend not to be just syntactic sugar, but ......
瀏覽:555
日期:2026-04-19
CLISP supports programs written with case sensitive symbols. ... However, unlike some commercial Common Lisp implementations, CLISP allows both kinds of ......
瀏覽:990
日期:2026-04-18
These conditional forms augment Emacs Lisp's simple if , and , or , and cond forms. — Macro: ... If no clause matches, the cl-case form returns nil . The clauses  ......