|
From: | GNU bug Tracking System |
Subject: | [debbugs-tracker] bug#14369: closed (24.3; loop docstring does not mention hash-map) |
Date: | Fri, 10 May 2013 02:03:01 +0000 |
Your message dated Thu, 09 May 2013 22:01:58 -0400 with message-id <address@hidden> and subject line Re: bug#14369: 24.3; loop docstring does not mention hash-map has caused the debbugs.gnu.org bug report #14369, regarding 24.3; loop docstring does not mention hash-map to be marked as done. (If you believe you have received this mail in error, please contact address@hidden) -- 14369: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=14369 GNU Bug Tracking System Contact address@hidden with problems
--- Begin Message ---Subject: 24.3; loop docstring does not mention hash-map Date: Wed, 8 May 2013 14:29:39 +0100 Emacs' implementation of cl-loop includes support for the for-as-hash part of Common Lisp's loop grammar.
The grammar:
for-as-hash::= var [type-spec] being {each | the}
{{hash-key | hash-keys} {in | of} hash-table
[using (hash-value other-var)] |
{hash-value | hash-values} {in | of} hash-table
[using (hash-key other-var)]}
Example usage:
(loop for key being the hash-keys of #s(hash-table data (1 2 3 4))
do (message "key: %s" key))
However, the docstring for cl-loop does not mention this syntax. I believe it should.
Thanks
Wilfred
--- End Message ---
--- Begin Message ---Subject: Re: bug#14369: 24.3; loop docstring does not mention hash-map Date: Thu, 09 May 2013 22:01:58 -0400 User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) Version: 24.4 OK.
--- End Message ---
[Prev in Thread] | Current Thread | [Next in Thread] |