|
From: | Dmitry Gutov |
Subject: | Re: "cl-case" with strings |
Date: | Thu, 4 Feb 2016 04:39:34 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Thunderbird/44.0 |
On 02/04/2016 04:13 AM, Emanuel Berg wrote:
Today when I did a new interface to my interface [1] to `google-translate' which is an interface to Google Translate, I used `cl-case' with strings but was frustrated with failure, because `cl-case' uses equality function(s) that report nil for identical strings. So I wrote this.
Or you could use pcase.
[Prev in Thread] | Current Thread | [Next in Thread] |