[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Quick pcase question
From: |
Michael Heerdegen |
Subject: |
Re: Quick pcase question |
Date: |
Wed, 02 Mar 2016 12:02:59 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.91 (gnu/linux) |
Eric Abrahamsen <eric@ericabrahamsen.net> writes:
> (pcase tst
> (`(symbolla . ,(and x (pred stringp)))
> (message "cdr is a string: %s" x)))
>
> Is the ",(and x (pred stringp))" part really the simplest way of doing
> that?
Yes, I think so.
How could it be much simpler (there is not much redundancy in that
expression)?
Michael
- Quick pcase question, Eric Abrahamsen, 2016/03/02
- Re: Quick pcase question,
Michael Heerdegen <=
- Re: Quick pcase question, Eric Abrahamsen, 2016/03/02
- Re: Quick pcase question, Michael Heerdegen, 2016/03/02
- Re: Quick pcase question, Eric Abrahamsen, 2016/03/02
- Re: Quick pcase question, Michael Heerdegen, 2016/03/02
- Re: Quick pcase question, Phillip Lord, 2016/03/02
- Re: Quick pcase question, Eric Abrahamsen, 2016/03/02
- Re: Quick pcase question, Stefan Monnier, 2016/03/02
- Re: Quick pcase question, Phillip Lord, 2016/03/02
- Re: Quick pcase question, Eric Abrahamsen, 2016/03/02
- Re: Quick pcase question, Phillip Lord, 2016/03/03