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 ...
        瀏覽:1258
      • 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].
        瀏覽:656
    瀏覽:1218
    日期:2025-04-30
    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....
    瀏覽:661
    日期:2025-04-29
    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 ......
    瀏覽:1103
    日期:2025-04-30
    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 ......
    瀏覽:1307
    日期:2025-04-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 ......
    瀏覽:1059
    日期:2025-04-24
    Common Lisp has a couple of functions to control the case of a string. * (string- upcase "cool") "COOL" * (string-upcase "Cool") ......
    瀏覽:666
    日期:2025-04-25
    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 ......
    瀏覽:1449
    日期:2025-04-30
    CLISP supports programs written with case sensitive symbols. ... However, unlike some commercial Common Lisp implementations, CLISP allows both kinds of ......
    瀏覽:784
    日期:2025-04-30
    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  ......