[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "cl-case" with strings
From: |
Marcin Borkowski |
Subject: |
Re: "cl-case" with strings |
Date: |
Thu, 04 Feb 2016 08:23:52 +0100 |
User-agent: |
mu4e 0.9.13; emacs 25.1.50.1 |
On 2016-02-04, at 02:39, Dmitry Gutov <dgutov@yandex.ru> wrote:
> 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.
Or this idiom:
(cl-case (intern string)
...)
Best,
--
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University
- "cl-case" with strings, Emanuel Berg, 2016/02/03
- Re: "cl-case" with strings, Dmitry Gutov, 2016/02/03
- Re: "cl-case" with strings,
Marcin Borkowski <=
- Re: "cl-case" with strings, Emanuel Berg, 2016/02/04
- Re: "cl-case" with strings, Stefan Monnier, 2016/02/04
- Re: "cl-case" with strings, Emanuel Berg, 2016/02/04
- Re: "cl-case" with strings, Dmitry Gutov, 2016/02/04
- Re: "cl-case" with strings, Emanuel Berg, 2016/02/04
- Re: "cl-case" with strings, Dmitry Gutov, 2016/02/05
- Re: "cl-case" with strings, Emanuel Berg, 2016/02/05
- Re: "cl-case" with strings, Dmitry Gutov, 2016/02/05
- Re: "cl-case" with strings, Marcin Borkowski, 2016/02/04
- Re: "cl-case" with strings, Emanuel Berg, 2016/02/04