From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.devel Subject: Re: map.el and naming Date: Sun, 12 Apr 2015 20:22:44 +0600 Message-ID: References: <87lhji1aw8.fsf@petton.fr> <874monpju0.fsf@petton.fr> <552A1AF3.6080309@dancol.org> <871tjpzher.fsf@petton.fr> <87fv85cvrb.fsf@uwakimon.sk.tsukuba.ac.jp> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1428848603 6265 80.91.229.3 (12 Apr 2015 14:23:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 12 Apr 2015 14:23:23 +0000 (UTC) Cc: John Mastro , Nicolas Petton , Daniel Colascione , Stefan Monnier , emacs-devel To: "Stephen J. Turnbull" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 12 16:23:21 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YhInA-0007vn-Rr for ged-emacs-devel@m.gmane.org; Sun, 12 Apr 2015 16:23:20 +0200 Original-Received: from localhost ([::1]:45439 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YhInA-000069-38 for ged-emacs-devel@m.gmane.org; Sun, 12 Apr 2015 10:23:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38770) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YhImy-000063-DI for emacs-devel@gnu.org; Sun, 12 Apr 2015 10:23:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YhImx-0003U4-Ek for emacs-devel@gnu.org; Sun, 12 Apr 2015 10:23:08 -0400 Original-Received: from mail-lb0-x234.google.com ([2a00:1450:4010:c04::234]:33087) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YhImx-0003Tw-5l for emacs-devel@gnu.org; Sun, 12 Apr 2015 10:23:07 -0400 Original-Received: by lbbzk7 with SMTP id zk7so42167488lbb.0 for ; Sun, 12 Apr 2015 07:23:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:content-transfer-encoding; bh=ZuSIZaLCX/7WaqK2zl3LW6VI2eMTaEJ+gJWCzXoiILQ=; b=JyHqv2/G9zfa64fFNpg9sqK0BcBDDwgqN45UGZwMx9kSKv9ctrRYAKOCgvbBgNfZ7s ty2AGVxU1mpRCL4FCFS1xp0pjTwSSfiDlhBqwfrvAg/S0uWhpxJ60Tfm/cwhgpYC+0L2 qm5nWuetVL4f59vKnGkD32JNLRaD3T8LwnBalw+UnSkA1YDEi6ZFWZkdKtP1HzizvhAW wunEmbs15WeNy8yDLlyhVBlB7bYjKLqaMD9kHajH8tOsRmsk+R0subGEOgylx9X+cLdO 2hhvF7sgMHNh67gZPGgVz4aRAGd3joIJv3vyuRfze5BHE2qh5yLRuttEdRUyuuZl2SsT 3l6w== X-Received: by 10.152.234.42 with SMTP id ub10mr9264480lac.60.1428848585349; Sun, 12 Apr 2015 07:23:05 -0700 (PDT) Original-Received: by 10.114.174.143 with HTTP; Sun, 12 Apr 2015 07:22:44 -0700 (PDT) In-Reply-To: <87fv85cvrb.fsf@uwakimon.sk.tsukuba.ac.jp> X-Google-Sender-Auth: hJtrwIGz440dQN_hbJTN9d7H6sw X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::234 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:185337 Archived-At: On Sun, Apr 12, 2015 at 7:38 PM, Stephen J. Turnbull w= rote: > > So it seems the alternative is between finding a replacement for the > > "map, the type" (where "dict" is the best candidate so far) and findin= g > > a replacement for "map, the operation" (not sure what the best > > candidates would be here, maybe "iterate", or "loop", or "visit"?). > > Try "visit", please. Iterate and loop imply linear order to some > extent, and people often assume the order is stable against insertion. > (Yeah, I know, in fact "iterate" doesn't imply any such thing, and the > implication in "loop" is pretty weak. It's just that I've seen this > happen with "iterate" in Python.) Another term is =E2=80=9Cfor-each=E2=80=9D, although it also has a slight c= onnotation that the function being mapped over the collection is called primarily for its side effect rather than return value.