[erlang-in-lisp-devel] fare-match question

Stelian Ionescu sionescu at common-lisp.net
Fri May 30 14:22:42 UTC 2008


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)

-- 
Stelian Ionescu a.k.a. fe[nl]ix
Quidquid latine dictum sit, altum videtur.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/erlang-in-lisp-devel/attachments/20080530/9ac5c3f1/attachment.sig>


More information about the Erlang-in-lisp-devel mailing list