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: Thu, 04 Feb 2016 23:41:48 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> The instructions for `pcase' tho isn't exactly like
>> reading on the milk pack - perhaps the OP or
>> someone else can provide an example?
>
> (pcase foo ("toto" do-the-toto-thing) ("titi" do-the-titi-thing))

Does it work with multiple keys (keylists) as well?

Here are the line from the original code:

    (string-case from
              '(("sv" "da") "ord")
              '(("en")      "word")
              '(("es")      "palabra") )

-- 
underground experts united
http://user.it.uu.se/~embe8573




reply via email to

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