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 ...
        瀏覽:689
      • 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].
        瀏覽:1191
    瀏覽:835
    日期:2024-05-06
    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....
    瀏覽:909
    日期:2024-05-10
    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 ......
    瀏覽:1488
    日期:2024-05-07
    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 ......
    瀏覽:1104
    日期:2024-05-06
    By default the reader in CL is case converting, all escaped characters get turned into uppercase. You can customize this behavior with readtable-case ......
    瀏覽:1064
    日期:2024-05-07
    Common Lisp has a couple of functions to control the case of a string. * (string- upcase "cool") "COOL" * (string-upcase "Cool") ......
    瀏覽:837
    日期:2024-05-10
    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 ......
    瀏覽:1034
    日期:2024-05-11
    CLISP supports programs written with case sensitive symbols. ... However, unlike some commercial Common Lisp implementations, CLISP allows both kinds of ......
    瀏覽:379
    日期:2024-05-08
    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  ......