31 Jul
2007
31 Jul
'07
8:42 p.m.
hi! i was touching SWITCH and friends to understand #'string= and 'string= and created a shared expander for the 3 variants. 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)) opposed to (switch ("xxx" :test #'string= :default 42) ("alma" 1) ("korte" 2)) what do people thing about it? -- attila