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

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

Re: Quick pcase question


From: Stefan Monnier
Subject: Re: Quick pcase question
Date: Wed, 02 Mar 2016 22:47:24 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

>   (`(symbolla . ,x)
>    (guard (stringp x)))
>   (message "cdr is a string: %s" x))

A more promising direction is to change the syntax of `guard` from
(guard EXP) to (guard PAT EXP), which would be equivalent to (and PAT
(guard EXP)).


        Stefan




reply via email to

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