Who owns the fish? A Common Lisp solution to "Einstein's Riddle" Who owns the fish? A Common Lisp solution to "Einstein's Riddle" This is a Common Lisp solution to a notorious logical puzzle known as "Einstein's riddle." (I doubt that Einstein really had something do with it, but that's another story.) The problem is s
Macro CASE, CCASE, ECASE - Common Lisp HyperSpec (TM) case keyform {normal-clause}* [otherwise-clause] => result*. ccase keyplace { normal-clause}* => result*.
CLHS: Macro HANDLER-CASE - Common Lisp HyperSpec (TM) handler-case executes expression in a dynamic environment where various handlers are active.
CLHS: Macro RESTART-CASE - Common Lisp HyperSpec (TM) restart-case evaluates restartable-form in a dynamic environment where the clauses have special ...
Macro TYPECASE, CTYPECASE, ETYPECASE - Common Lisp ... The subforms of keyplace might be evaluated again if none of the cases holds. etypecase.
Common LISP Hints: Booleans and Conditionals LISP uses the self-evaluating symbol nil to mean false. Anything other than nil means true. ... The LISP case statement is like a C switch statement: > (setq x 'b) B > (case x (a 5) ((d e) 7) ...
7.6. Conditionals Common Lisp also provides the dispatching constructs case and typecase, which are often more ...
Algorithmic Composition: A Gentle Introduction to Music ... CASE is a Common LISP macro that implements multiple test-consequent clauses.CASE is similar to ...
Simple Lisp Case statement question - problem comparing to nil 2011年5月23日 - Common Lisp expects for CASE the item to test to be an atom or a list of atoms. The test ...
Common Lisp case and quoted elements - Stack Overflow 2011年4月1日 - You don't need to quote the symbols in CASE . Symbols in CASE clauses are not evaluated.