[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: The poor state of documentation of pcase like things.
From: |
Phillip Lord |
Subject: |
Re: The poor state of documentation of pcase like things. |
Date: |
Sat, 19 Dec 2015 22:11:17 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Michael Heerdegen <address@hidden> writes:
> address@hidden (Phillip Lord) writes:
>
>> These forms could do with documenting. I've tried to get the seq and
>> map pcase-macro's working and have failed.
>
> What did you try and what failed? Did you load seq.el and map.el before
> trying?
Just get them working at all. The pcase doc says:
-- (map &rest ARGS)
ARGS can be a list of the form (KEY PAT), in which case KEY in an
unquoted form.
ARGS can also be a list of symbols, which stands for (’SYMBOL
SYMBOL).
So, I tried something like:
(pcase '(:a 1)
((map `(:a ,a)) a))
which I thought might eval to 1.
Phil
- Re: The poor state of documentation of pcase like things., (continued)
- Re: The poor state of documentation of pcase like things., Michael Heerdegen, 2015/12/19
- Re: The poor state of documentation of pcase like things., John Wiegley, 2015/12/22
- Re: The poor state of documentation of pcase like things., Michael Heerdegen, 2015/12/19
- Re: The poor state of documentation of pcase like things., Eli Zaretskii, 2015/12/19
- Re: The poor state of documentation of pcase like things., Michael Heerdegen, 2015/12/19
- Re: The poor state of documentation of pcase like things., John Wiegley, 2015/12/22
- Re: The poor state of documentation of pcase like things., Phillip Lord, 2015/12/19
- Re: The poor state of documentation of pcase like things., Michael Heerdegen, 2015/12/19
- Re: The poor state of documentation of pcase like things.,
Phillip Lord <=
- Re: The poor state of documentation of pcase like things., Michael Heerdegen, 2015/12/20
- Re: The poor state of documentation of pcase like things., Richard Stallman, 2015/12/24
- Re: The poor state of documentation of pcase like things., John Wiegley, 2015/12/24
- Re: The poor state of documentation of pcase like things., Richard Stallman, 2015/12/25
- Re: The poor state of documentation of pcase like things., Michael Heerdegen, 2015/12/25
- Re: The poor state of documentation of pcase like things., John Wiegley, 2015/12/25
- Re: The poor state of documentation of pcase like things., Richard Stallman, 2015/12/26
- Re: The poor state of documentation of pcase like things., Michael Heerdegen, 2015/12/26
- Re: The poor state of documentation of pcase like things., Aaron Ecay, 2015/12/26
- Re: The poor state of documentation of pcase like things., Michael Heerdegen, 2015/12/26