emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pcase.el


From: Stefan Monnier
Subject: Re: pcase.el
Date: Mon, 27 Sep 2010 00:06:13 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

>>> 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



reply via email to

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