[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: match facility
From: |
Michael Welsh Duggan |
Subject: |
Re: match facility |
Date: |
Tue, 21 Aug 2012 18:26:03 -0400 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1.50 (gnu/linux) |
Andy Wingo <address@hidden> writes:
> One of the things I have most enjoyed about the Guile 2.0 series is that
> it bundles a pattern matcher. I love using pattern matchers to
> destructure data -- it feels really nice.
>
> I needed to match some Elisp data recently, so I wrote the following
> matcher. What do you think about it? If you like it, I can do the
> paperwork.
Just so you know, I think this is already in elisp. Take a look at
pcase:
pcase is an autoloaded Lisp macro in `pcase.el'.
(pcase EXP &rest CASES)
Perform ML-style pattern matching on EXP.
--
Michael Welsh Duggan
(address@hidden)
- match facility, Andy Wingo, 2012/08/21
- Re: match facility,
Michael Welsh Duggan <=