help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pcase with progn


From: Scott Bell
Subject: Re: pcase with progn
Date: Wed, 27 Nov 2024 12:39:57 -0700
User-agent: Gnus/5.13 (Gnus v5.13)

Heime via Users list for the GNU Emacs text editor
<help-gnu-emacs@gnu.org> writes:

> Does pcase require progn for multiple commands?

Nope.  Each clause is of the form ‘(PATTERN BODY-FORMS...)’, where the
body forms of the successful clause are evaluated and the final value is
returned.  In this sense it behaves similarly to ‘cond’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]