2008/5/30 Stelian Ionescu sionescu@common-lisp.net:
On Fri, May 30, 2008 at 09:05:39AM -0500, Matt Bone wrote:
This is not a huge deal, and probably a bit out of the order we discussed. I started thinking about pattern matching yesterday, though, and I was trying to do the simple example in fare-matcher (a simple modification of what's in the docs): (defun test-match (param) (fare-matcher:match param (:ping (print :pong)) (:quit (print :bye)) ((:add a b) (print :add))))
that should be (list :add a b)
Or alternatively, `(:add ,a ,b) using fare-quasiquote (that I don't recommend at this point, because its support for nested ,@ is buggy and necessitates a rewrite).
[ François-René ÐVB Rideau | Reflection&Cybernethics | http://fare.tunes.org ] The American Republic will endure, until politicians realize they can bribe the people with their own money. -- Alexis de Tocqueville