emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Keyword args


From: Helmut Eller
Subject: Re: Keyword args
Date: Sun, 12 Dec 2010 09:34:16 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

* MON KEY [2010-12-12 04:49] writes:

>> Since we have destructuring-bind parsing plists is not very hard.
>
> No, we have _some_ of dbind...
>
> Following is the CL specs cannonical `destructuring-bind' example:
>
> ,----
> |
> | Examples:
> |
> |  (defun iota (n) (loop for i from 1 to n collect i))       ;helper
> |
> |  (destructuring-bind ((a &optional (b 'bee)) one two three)
> |      `((alpha) ,@(iota 3))
> |    (list a b three two one)) ’ (ALPHA BEE 3 2 1)
> |
> `----
>
> Does evaluating the above two forms in elisp land you in *Backtrace*
> with something like this at beginning-of-buffer:
>
>  Debugger entered--Lisp error: (void-variable bind-enquote)
>
> If so, I would argue that the current elisp's implementation fo
> `destructuring-bind' isn't exactly the panacea to keyword parsing you
> claim it is.

This bug was fixed quite some time ago: 
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6408

Helmut




reply via email to

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