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

[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




reply via email to

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