[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: |
Thu, 17 Dec 2015 22:22:29 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Drew Adams <address@hidden> writes:
>> pattern match is really a form of control flow in its own right.
>
> OT, but no, pattern matching per se has nothing to do with control flow.
>
> You can *combine* pattern matching with control flow (as `pcase' does,
> testing the results of pattern-match binding to control the flow). But
> pattern matching itself does not imply any effect on control flow.
You are right. Currently, only pcase is documented though, hence my
(badly worded) statement.
Possibly the solution is to introduce a generic "pattern matching" node,
and then have much shorter descriptions for pcase in control flow, and
the other functions elsewhere.
Phil
- The poor state of documentation of pcase like things., Alan Mackenzie, 2015/12/16
- Re: The poor state of documentation of pcase like things., Kaushal Modi, 2015/12/16
- Re: The poor state of documentation of pcase like things., John Wiegley, 2015/12/17
- Re: The poor state of documentation of pcase like things., Eli Zaretskii, 2015/12/18
- Re: The poor state of documentation of pcase like things., Rasmus, 2015/12/18
- Re: The poor state of documentation of pcase like things., Eli Zaretskii, 2015/12/18
- Re: The poor state of documentation of pcase like things., Rasmus, 2015/12/18
- Re: The poor state of documentation of pcase like things., David Kastrup, 2015/12/18
- Re: The poor state of documentation of pcase like things., Eli Zaretskii, 2015/12/18
- Re: The poor state of documentation of pcase like things., Phillip Lord, 2015/12/18
- Re: The poor state of documentation of pcase like things., Eli Zaretskii, 2015/12/18
- Re: The poor state of documentation of pcase like things., David Kastrup, 2015/12/18
- Re: The poor state of documentation of pcase like things., Eli Zaretskii, 2015/12/18