[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "cl-case" with strings
From: |
Emanuel Berg |
Subject: |
Re: "cl-case" with strings |
Date: |
Fri, 05 Feb 2016 05:05:23 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Marcin Borkowski <mbork@mbork.pl> writes:
>>> Or this idiom: (cl-case (intern string) ...)
>>
>> Then the keys cannot be strings - not an issue in
>> this "case"...
>
> Why not? It works fine for me when `string' is
> a string.
It works for me too but to me it is rather a hack
than idiomatic.
I'd like the keys to be strings if the (original) data
is. Then the keys/strings are also properly
highlighted as strings because that's what they are.
Now when I have my defun I don't want to change for
this, but had I known of this before, perhaps (?)
I wouldn't have written the defun.
--
underground experts united
http://user.it.uu.se/~embe8573
- Re: "cl-case" with strings, (continued)
- Re: "cl-case" with strings, Marcin Borkowski, 2016/02/04
- 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 <=
- Re: "cl-case" with strings, Marcin Borkowski, 2016/02/05
- Message not available
- Re: "cl-case" with strings, Joost Kremers, 2016/02/04
Re: "cl-case" with strings, Emanuel Berg, 2016/02/04