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 ...
        瀏覽:931
      • 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].
        瀏覽:354
    瀏覽:1089
    日期:2024-07-28
    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....
    瀏覽:1178
    日期:2024-07-26
    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 ......
    瀏覽:305
    日期:2024-07-28
    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 ......
    瀏覽:1225
    日期:2024-07-28
    By default the reader in CL is case converting, all escaped characters get turned into uppercase. You can customize this behavior with readtable-case ......
    瀏覽:800
    日期:2024-07-23
    Common Lisp has a couple of functions to control the case of a string. * (string- upcase "cool") "COOL" * (string-upcase "Cool") ......
    瀏覽:1356
    日期:2024-07-28
    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 ......
    瀏覽:884
    日期:2024-07-24
    CLISP supports programs written with case sensitive symbols. ... However, unlike some commercial Common Lisp implementations, CLISP allows both kinds of ......
    瀏覽:477
    日期:2024-07-25
    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  ......