[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#24362: 25.1.50; Inconsistent docstring between pcase-let and pcase-l
From: |
Chunyang Xu |
Subject: |
bug#24362: 25.1.50; Inconsistent docstring between pcase-let and pcase-let* |
Date: |
Sun, 04 Sep 2016 12:26:05 +0800 |
It looks like, to me, the structure of the BODY arg of these two should
be the same (accepting a list froms).
(pcase-let ((a 1))
(incf a)
a)
=> 2
(pcase-let* ((a 1))
(incf a)
a)
=> 2
but the docstrings are using the different words.
(pcase-let BINDINGS &rest BODY)
Like `let' but where you can use `pcase' patterns for bindings.
BODY should be a list of expressions, and BINDINGS should be a list of bindings
^^^^^^^^^^^^^^^^^^^^^
of the form (PAT EXP).
(pcase-let* BINDINGS &rest BODY)
Like `let*' but where you can use `pcase' patterns for bindings.
BODY should be an expression, and BINDINGS should be a list of bindings
^^^^^^^^^^^^^
of the form (PAT EXP).
- bug#24362: 25.1.50; Inconsistent docstring between pcase-let and pcase-let*,
Chunyang Xu <=