From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nicolas Petton Newsgroups: gmane.emacs.devel Subject: Re: map.el and naming Date: Sun, 12 Apr 2015 16:52:23 +0200 Message-ID: <871tjp4cwo.fsf@petton.fr> References: <87lhji1aw8.fsf@petton.fr> <874monpju0.fsf@petton.fr> <552A1AF3.6080309@dancol.org> <871tjpzher.fsf@petton.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1428850379 32745 80.91.229.3 (12 Apr 2015 14:52:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 12 Apr 2015 14:52:59 +0000 (UTC) Cc: John Mastro , Nicolas Petton , Daniel Colascione , emacs-devel To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 12 16:52:49 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 1YhJFf-0005w3-DO for ged-emacs-devel@m.gmane.org; Sun, 12 Apr 2015 16:52:47 +0200 Original-Received: from localhost ([::1]:45517 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YhJFe-0007Y4-Jp for ged-emacs-devel@m.gmane.org; Sun, 12 Apr 2015 10:52:46 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42936) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YhJFR-0007Xm-Ur for emacs-devel@gnu.org; Sun, 12 Apr 2015 10:52:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YhJFO-0004Kc-PU for emacs-devel@gnu.org; Sun, 12 Apr 2015 10:52:33 -0400 Original-Received: from out4-smtp.messagingengine.com ([66.111.4.28]:35074) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YhJFO-0004KT-HU for emacs-devel@gnu.org; Sun, 12 Apr 2015 10:52:30 -0400 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id BB707207D2 for ; Sun, 12 Apr 2015 10:52:25 -0400 (EDT) Original-Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Sun, 12 Apr 2015 10:52:29 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=DAClHrfmQlXHC5G/J8zTrALFtyM=; b=to9F8 QLfD1im6/jMejvGUpkKJLd1HeJGDCByVp0EO4EeqXrjXow6J1COFheCXpD5heZ5h NIvMbCH3EvxOCDLPJOeG1ep1/OFoxu90Zuo17+ylwiqgy+vIUt5JsV1hKQxNnBrg EeQqfQS2wDLfn7Fuqk3ynbeU2KR51jZhA+Laq4= X-Sasl-enc: 5AN3XZ50Qf15PyuZuupCkngwRheEuCUU/z9i29HGGNLN 1428850349 Original-Received: from blueberry (unknown [80.216.68.107]) by mail.messagingengine.com (Postfix) with ESMTPA id 618CEC00017; Sun, 12 Apr 2015 10:52:28 -0400 (EDT) In-reply-to: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 66.111.4.28 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:185340 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Stefan Monnier writes: >>>> "dict-" is short. "Dictionary" is another well-known name for a mapping >>>> data structure. >>> "dict-" is OK with me. >> It would be fine (short and meaningful), but I don't really like how it >> sounds. I know I'm being picky here... > > I also prefer "map-" in general, FWIW. > >> Thanks for the suggestions everyone, I'll think about this for a while. > > So it seems the alternative is between finding a replacement for the > "map, the type" (where "dict" is the best candidate so far) and finding > a replacement for "map, the operation" (not sure what the best > candidates would be here, maybe "iterate", or "loop", or "visit"?). The candidate I like the most is "apply": `map-apply', `map-keys-apply' and `map-values-apply'. Nico =2D-=20 Nicolas Petton http://nicolas-petton.fr --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: GPGTools - http://gpgtools.org iQEcBAEBAgAGBQJVKoanAAoJECM1h6R8IHkQ8RYH/0lQFqMozLaTc102k3z0faY/ yKeWhr0duG+K7m+Od6sUcaRdMW6UAND1K9RqveKjNv9bPC5NPonsPB828WAPub+L pux2nDYG14Xp+KtZUAvqcKyndwQbMMDCOwjPNyy5YFqVXwwi9sjhPX7S0QTDUeqr Nca25uCUCdAxFLi3Cf60Rht5+dEnHYELSehYuHuJwrCo4dbHSMadXqUHFe3fLymY O0z4n4FDU/l3sG7sSaLU/4LSuhj7yt3Z5JEIZ3Qt49ZpntophddVM7RZO7No6DgJ z3pb8TD9u0YhjhKSoyyBYG1SrQR3Dwg4Xs/2xFJsYObv5+uZ0JeCC57EK5ThxEo= =LNnZ -----END PGP SIGNATURE----- --=-=-=--