![](https://secure.gravatar.com/avatar/4fd19de0b3e4891247e0056c282337c4.jpg?s=120&d=mm&r=g)
31 Jul
2007
31 Jul
'07
9:03 p.m.
(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?
hm, i was thinking why :default was born and i thought that because specially handling T is somehow confusing or makes some situations impossible to handle. but after giving a few more thoughts i think T could also be used just like with COND and CASE. -- attila