Search found 3 matches
Search found 3 matches • Page 1 of 1
I wrote Texas Hold'em calculator in cl. (This program in cl is of course open source, not commerial :) ) It goes good but there is a big time difference of evaluation in sbcl and clisp. For example: when we have hand: Jack of Diamonds and Queen of Diamonds and there is three hidden opponents: i get ...
- Mon Apr 06, 2009 2:53 pm
- Forum: Common Lisp
- Topic: between defun and defmacro
- Replies: 3
- Views: 5384
Hello! Is it possible in common lisp to write macro which interprets part of arguments like defmacro and other part like defun? For example, something like: (def-amazing-macro leopard (dog &value cat) `(if ,dog "war is over" cat)) (let ((x "happy old year")) (leopard (> 4.99 5) x)) ;; it should give...