[GSoC] Parameter protocols in CL
Per Bothner
per@bothner.com
Wed Jul 18 04:46:00 GMT 2012
On 07/17/2012 06:02 PM, Charles Turner wrote:
> Although perhaps the pattern-matcher
> will be able to support destructuring in an elegant way?
That is a primary goal ...
Another is more compact declarations:
(! PATTERN EXPRESSION)
Another related goal is more powerful switch/case forms, perhaps:
(if (? PATTERN EXPRESSION)
DO-IF-MATCH ;; variables bound in PATTERN bound here
DO-IF-NO-MATCH)
--
--Per Bothner
per@bothner.com http://per.bothner.com/
More information about the Kawa
mailing list