diff options
Diffstat (limited to 'doc/ref/match.texi')
-rw-r--r-- | doc/ref/match.texi | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/ref/match.texi b/doc/ref/match.texi index d1618ce6e..40b5be899 100644 --- a/doc/ref/match.texi +++ b/doc/ref/match.texi @@ -64,16 +64,16 @@ bound to, respectively, the first and second element of @var{l}. The pattern matcher is defined as follows: -@deffn {Scheme Syntax} match exp clause ... -Match object @var{exp} against the patterns in the given @var{clause}s, -in the order in which they appear. Return the value produced by the -first matching clause. If no @var{clause} matches, throw an exception -with key @code{match-error}. - -Each @var{clause} has the form @code{(pattern body)}. Each -@var{pattern} must follow the syntax described below. Each @var{body} -is an arbitrary Scheme expression, possibly referring to pattern -variables of @var{pattern}. +@deffn {Scheme Syntax} match exp clause1 clause2 @dots{} +Match object @var{exp} against the patterns in @var{clause1} +@var{clause2} @dots{} in the order in which they appear. Return the +value produced by the first matching clause. If no clause matches, +throw an exception with key @code{match-error}. + +Each clause has the form @code{(pattern body1 body2 @dots{})}. Each +@var{pattern} must follow the syntax described below. Each body is an +arbitrary Scheme expression, possibly referring to pattern variables of +@var{pattern}. @end deffn @c FIXME: Document other forms: |