emacs-devel
[Top][All Lists]
Advanced

[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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]