Re: Does ANSI Common Lisp have pattern matching?
- From: Andy Freeman <anamax@xxxxxxxxxxxxx>
- Date: 4 May 2007 15:47:04 -0700
On May 4, 3:14 pm, Jon Harrop <j...@xxxxxxxxxxxxxxxxx> wrote:
Alan Crowe wrote:
So a fair summary could be that ANSI Common Lisp does have
built in pattern matching, but never fixed on a slick
notation to distinguish between literals, types, and
variables, leaving the programmer to make that choice and
define some macros to implement it.
Yes. I think decent pattern matching would be a welcome addition to the next
Lisp standard.
Actually, Crowe (and Joswig) explained why pattern matching should not
be part of the language. Summary: There isn't a single definition
that handles all the relevant cases.
For those who want hand-cuffs, other languages happily provide them.
.
- Follow-Ups:
- Re: Does ANSI Common Lisp have pattern matching?
- From: Alan Crowe
- Re: Does ANSI Common Lisp have pattern matching?
- From: Jon Harrop
- Re: Does ANSI Common Lisp have pattern matching?
- References:
- Does ANSI Common Lisp have pattern matching?
- From: Alan Crowe
- Re: Does ANSI Common Lisp have pattern matching?
- From: Jon Harrop
- Does ANSI Common Lisp have pattern matching?
- Prev by Date: Re: Does ANSI Common Lisp have pattern matching?
- Next by Date: Re: Why stay with lisp when there are python and perl?
- Previous by thread: Re: Does ANSI Common Lisp have pattern matching?
- Next by thread: Re: Does ANSI Common Lisp have pattern matching?
- Index(es):
Relevant Pages
|