From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: Re: map.el and naming Date: Tue, 03 Mar 2015 00:24:08 +0900 Message-ID: <87ioejbexz.fsf@uwakimon.sk.tsukuba.ac.jp> References: <87lhji1aw8.fsf@petton.fr> <8361amtabg.fsf@gnu.org> <87ioej26ij.fsf@petton.fr> <83fv9nsfht.fsf@gnu.org> <87h9u31qek.fsf@petton.fr> <8361ajsduy.fsf@gnu.org> <83y4nfqwse.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Trace: ger.gmane.org 1425309887 16464 80.91.229.3 (2 Mar 2015 15:24:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 2 Mar 2015 15:24:47 +0000 (UTC) Cc: nicolas@petton.fr, bruce.connor.am@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 02 16:24:40 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 1YSSD2-0000YO-7G for ged-emacs-devel@m.gmane.org; Mon, 02 Mar 2015 16:24:40 +0100 Original-Received: from localhost ([::1]:57656 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSSD1-0005pm-Ga for ged-emacs-devel@m.gmane.org; Mon, 02 Mar 2015 10:24:39 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50710) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSSCt-0005kT-V7 for emacs-devel@gnu.org; Mon, 02 Mar 2015 10:24:32 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YSSCp-0005Z8-Rn for emacs-devel@gnu.org; Mon, 02 Mar 2015 10:24:31 -0500 Original-Received: from shako.sk.tsukuba.ac.jp ([130.158.97.161]:34810) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSSCk-0005V6-As; Mon, 02 Mar 2015 10:24:22 -0500 Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by shako.sk.tsukuba.ac.jp (Postfix) with ESMTPS id B3C401C3864; Tue, 3 Mar 2015 00:24:08 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id 9AEA01A26E3; Tue, 3 Mar 2015 00:24:08 +0900 (JST) In-Reply-To: <83y4nfqwse.fsf@gnu.org> X-Mailer: VM undefined under 21.5 (beta34) "kale" 83e5c3cd6be6 XEmacs Lucid (x86_64-unknown-linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 130.158.97.161 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:183573 Archived-At: Eli Zaretskii writes: > If there are APIs that make sense for maps, IMO they should be generic > APIs that can handle both objects now handled by seq.el and those in > map.el. IOW, if only some of the APIs must be map-specific, that > doesn't mean we need to make them all map-specific, IMO. This just doesn't make sense in Emacs Lisp because (with the exception of hash-tables) mapping types are represented as lists, and the only way to determine whether a list is a sequence or a map is by looking at the function you call on it.