mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 11:40:18 +02:00
doc: Fix argument list in match-lambda docs
* doc/ref/match.texi: Fix argument list for match-lambda. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
77c4f2f48d
commit
f2c11dc181
1 changed files with 2 additions and 2 deletions
|
@ -216,7 +216,7 @@ one-element list containing a @var{person} whose first slot is
|
|||
The @code{(ice-9 match)} module also provides the following convenient
|
||||
syntactic sugar macros wrapping around @code{match}.
|
||||
|
||||
@deffn {Scheme Syntax} match-lambda exp clause1 clause2 @dots{}
|
||||
@deffn {Scheme Syntax} match-lambda clause1 clause2 @dots{}
|
||||
Create a procedure of one argument that matches its argument against
|
||||
each clause, and returns the result of evaluating the corresponding
|
||||
expressions.
|
||||
|
@ -236,7 +236,7 @@ expressions.
|
|||
@result{} world
|
||||
@end example
|
||||
|
||||
@deffn {Scheme Syntax} match-lambda* exp clause1 clause2 @dots{}
|
||||
@deffn {Scheme Syntax} match-lambda* clause1 clause2 @dots{}
|
||||
Create a procedure of any number of arguments that matches its argument
|
||||
list against each clause, and returns the result of evaluating the
|
||||
corresponding expressions.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue