[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] seq-let c856843: New macro seq-let, providing destruct
From: |
Nicolas Petton |
Subject: |
Re: [Emacs-diffs] seq-let c856843: New macro seq-let, providing destructuring support to seq.el |
Date: |
Sun, 10 May 2015 20:27:47 +0200 |
Stefan Monnier writes:
>> New macro seq-let, providing destructuring support to seq.el
>
> How 'bout adding support for `seq' to pcase instead?
> I.e. add a (seq ...) pattern to pcase.
> You can do that with `pcase-defmacro'.
I pushed in commit 387e1e1 another version that is based on pcase.
As old versions of Emacs don't provide `pcase-defmacro', I kept the old
version of seq-let for backward compatibility.
Stefan, could you review my changes, I'm quite new with pcase.
Nico
--
Nicolas Petton
http://nicolas-petton.fr
signature.asc
Description: PGP signature