31 Jul
2007
31 Jul
'07
8:48 p.m.
On 31/07/07, Attila Lendvai <attila.lendvai@gmail.com> wrote:
in the process i was thinking that removing the :default key arg and testing for a 'cl:otherwise clause would be much more cl-ish, but that would mean an incompatible change.
(switch ("xxx" :test #'string=) ("alma" 1) ("korte" 2) (otherwise 42))
Looks much better than the :default argument, IMHO. Could it also accept T as a synonym for OTHERWISE? -- Luís Oliveira http://student.dei.uc.pt/~lmoliv/