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: Sat, 11 Apr 2015 16:11:01 +0200 Message-ID: <871tjqlpqi.fsf@petton.fr> References: <87lhji1aw8.fsf@petton.fr> <874monpju0.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 1428761495 17055 80.91.229.3 (11 Apr 2015 14:11:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 11 Apr 2015 14:11:35 +0000 (UTC) Cc: Nicolas Petton , emacs-devel To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 11 16:11:23 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 1Ygw82-0004rZ-Fb for ged-emacs-devel@m.gmane.org; Sat, 11 Apr 2015 16:11:22 +0200 Original-Received: from localhost ([::1]:42822 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ygw81-0006Wq-O2 for ged-emacs-devel@m.gmane.org; Sat, 11 Apr 2015 10:11:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43444) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ygw7p-0006Wk-H1 for emacs-devel@gnu.org; Sat, 11 Apr 2015 10:11:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ygw7k-0007Br-HE for emacs-devel@gnu.org; Sat, 11 Apr 2015 10:11:09 -0400 Original-Received: from out4-smtp.messagingengine.com ([66.111.4.28]:59980) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ygw7k-0007BS-D1 for emacs-devel@gnu.org; Sat, 11 Apr 2015 10:11:04 -0400 Original-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 2E20E20750 for ; Sat, 11 Apr 2015 10:11:00 -0400 (EDT) Original-Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Sat, 11 Apr 2015 10:11:04 -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=Dj4ia/28ppa6j/Bp4M44TrwfXy4=; b=c74gE OMiQNlPq9slD3q8WZOTYklOoXn5UjD3IckK10AqNiAOxS71D4WE/sinreWZlkdzc rCD70R2V2Qvz0doAdNIQz8EsHUz7QRDZmte6g1PkDootGMr56wzTxFODtwBEBY8B 2G0RtJY1AVil1pB3SnkV8ti7FdsBwtvklvBEX0= X-Sasl-enc: lu1QmBmOuW2XYCdSoKPDjdWqVfsvF9Qg0w6bNRzCNXQm 1428761463 Original-Received: from blueberry (unknown [80.216.68.107]) by mail.messagingengine.com (Postfix) with ESMTPA id 897D7C00015; Sat, 11 Apr 2015 10:11:03 -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:185285 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Stefan Monnier writes: >> I'm back with this issue. Since I have "map" both as a verb and as a >> name, and because I don't want to call "mapping" something else, I think >> I'll go with renaming the library. > > BTW, to give some idea of the tradeoffs, could you remind us of the main > concrete problems you face when using "map" as the library name > (i.e. actual functions whose name is hard to choose)? Sure. `map-map-keys', `map-map-values' and `map-map' are the issue here. Stefan, IIRC you suggested `map-keys-apply', `map-values-apply' and `map-apply', and while it would work, I like the verb "map" much more (it's also consistent with seq.el). Cheers, 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 iQEbBAEBAgAGBQJVKSt1AAoJECM1h6R8IHkQIjgH92zAQ43oOGkPE9HJQ4UMiBH9 C5BoK4etesaSsS+H3g2+R8p/9WCqD7bDMu8ZhJy0tac//d5PkxkCSLyXLwggLMCW OMnpzz19FgyaQd4ZxNemK0eDD/o3Dh8XydDcxB6EIiu4zvgRQHB7FdYdK/BbnvAq 82VsM2WmAYCtAbux7yYqrIB/YKCjokeDZdMry0/4kGqo3h2D/8wH2NnKm8WtQeSK 1yhLaJ38/KoCqBZnYjLQHzRBwCM2H8w4Qu1Lh5+cTuD/B5oqE3S+cKB2zQKPDTmT o4uc0MgMpOTENPd6/Cv2+TVo4Udp6u6XuwANNERsf6IldBvMdueU5e+NfIEMvA== =8G/Y -----END PGP SIGNATURE----- --=-=-=--