emacs-devel
[Top][All Lists]
Advanced

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

Re: cond* vs pcase


From: Alfred M. Szmidt
Subject: Re: cond* vs pcase
Date: Tue, 06 Feb 2024 12:27:33 -0500

   > Because your not doing pattern matching, you're comparing against a
   > set of strings/symbols/numbers/....

   Simply because pattern matching is a more powerful generalisation,
   capable of expressing case-distinction; in the end it compiles down to
   almost the same code anyway.

Are you suggesting that COND/CASE/... and other "trivial" matching
constructs should be replaced with PCASE/COND*?



reply via email to

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