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 ...
        瀏覽:359
      • 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].
        瀏覽:1436
    瀏覽:1059
    日期:2025-09-27
    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....
    瀏覽:637
    日期:2025-10-04
    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 ......
    瀏覽:1210
    日期:2025-10-03
    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 ......
    瀏覽:1047
    日期:2025-09-29
    By default the reader in CL is case converting, all escaped characters get turned into uppercase. You can customize this behavior with readtable-case ......
    瀏覽:342
    日期:2025-10-04
    Common Lisp has a couple of functions to control the case of a string. * (string- upcase "cool") "COOL" * (string-upcase "Cool") ......
    瀏覽:850
    日期:2025-10-01
    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 ......
    瀏覽:1095
    日期:2025-09-28
    CLISP supports programs written with case sensitive symbols. ... However, unlike some commercial Common Lisp implementations, CLISP allows both kinds of ......
    瀏覽:533
    日期:2025-09-29
    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  ......