[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pcase.el
From: |
Leo |
Subject: |
Re: pcase.el |
Date: |
Mon, 27 Sep 2010 17:59:28 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (Mac OS X 10.6.4) |
On 2010-09-26 23:06 +0100, Stefan Monnier wrote:
>>>> Yes, pattern matching in Elisp would be a very cool addition.
> SM> The future has passed. It's called `pcase'.
>
>> That seems really useful (lately I've been working with CLIPS, which is
>> a sort of idiot cousin to ML). Are there docs or examples for pcase.el?
>> I don't see any usage in the Emacs lisp/ tree.
>
> The docstring of `pcase' is meant to be "complete", so you can start
> with that and complain about the missing bits. Don't bother complaining
> if you're not famailiar with ML-style pattern matching, tho (the
> docstring is written under the assumption that this much is known).
>
> There's a fairly good/extensive example in macroexp.el.
>
>
> Stefan
There's also an erlang-style matcher for elisp here:
http://code.google.com/p/distel/.
Leo
- Re: Problems with xml-parse-string, (continued)
- Re: Problems with xml-parse-string, Leo, 2010/09/25
- Re: Problems with xml-parse-string, Leo, 2010/09/25
- Re: Problems with xml-parse-string, Wojciech Meyer, 2010/09/25
- Re: Problems with xml-parse-string, Stefan Monnier, 2010/09/25
- Re: Problems with xml-parse-string, Leo, 2010/09/25
- Re: Problems with xml-parse-string, Leo, 2010/09/25
- Re: Problems with xml-parse-string, Stefan Monnier, 2010/09/26
- Re: Problems with xml-parse-string, Leo, 2010/09/26
- pcase.el (was: Problems with xml-parse-string), Ted Zlatanov, 2010/09/25
- Re: pcase.el, Stefan Monnier, 2010/09/26
- Re: pcase.el,
Leo <=
- Re: pcase.el, Stefan Monnier, 2010/09/27
- Re: pcase.el, Ted Zlatanov, 2010/09/28
- Re: Problems with xml-parse-string, Andrew W. Nosenko, 2010/09/24
- Re: Problems with xml-parse-string, Kevin Rodgers, 2010/09/22
- Re: Problems with xml-parse-string, Chong Yidong, 2010/09/22
- Re: Problems with xml-parse-string, Lars Magne Ingebrigtsen, 2010/09/22
- Re: Problems with xml-parse-string, Chong Yidong, 2010/09/22
- Re: Problems with xml-parse-string, Lars Magne Ingebrigtsen, 2010/09/22
- Re: Problems with xml-parse-string, Wojciech Meyer, 2010/09/22
- Re: Problems with xml-parse-string, Andy Wingo, 2010/09/22