From: Marc M
Subject: HELP PLEASE
Date: 
Message-ID: <8vv37s$o13$1@wanadoo.fr>
Anyone knows how to program in LISP
the function match ( pattern matching)

exp : (match '(?X 2 G) '(ABC 2 G))
returns :   ( (X  ABC))


--

Marc Moukarzel
T�l (GSM) : 06 16 50 46 61
18, rue Edmond About
92350 - Le Plessis Robinson
http://perso.wanadoo.fr/marcm
From: Rainer Joswig
Subject: Re: HELP PLEASE
Date: 
Message-ID: <joswig-0306C4.03003228112000@news.is-europe.net>
In article <············@wanadoo.fr>, "Marc M" <·····@wanadoo.fr> 
wrote:

> Anyone knows how to program in LISP
> the function match ( pattern matching)

Sure. See for example chapter 6.2 in Peter Norvig's
book "Paradigms of Artificial Intelligence Programming".
You can download the Lisp code from his website:
http://www.norvig.com/paip.html

> exp : (match '(?X 2 G) '(ABC 2 G))
> returns :   ( (X  ABC))

-- 
Rainer Joswig, Hamburg, Germany
Email: ·············@corporate-world.lisp.de
Web: http://corporate-world.lisp.de/