From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Leo Liu Newsgroups: gmane.emacs.devel Subject: Re: Consider adding hash-keys and hash-values Date: Mon, 04 Nov 2013 13:14:43 +0800 Message-ID: References: <1EA2626D6F9E40C799F18421D8FD41B5@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1383542109 7256 80.91.229.3 (4 Nov 2013 05:15:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 4 Nov 2013 05:15:09 +0000 (UTC) Cc: Stefan Monnier , emacs-devel To: Bozhidar Batsov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 04 06:15:13 2013 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 1VdCVN-0003Lv-0I for ged-emacs-devel@m.gmane.org; Mon, 04 Nov 2013 06:15:13 +0100 Original-Received: from localhost ([::1]:48128 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VdCVM-0006dg-6L for ged-emacs-devel@m.gmane.org; Mon, 04 Nov 2013 00:15:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60008) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VdCVB-0006Ys-Cy for emacs-devel@gnu.org; Mon, 04 Nov 2013 00:15:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VdCV2-0005Mk-Vs for emacs-devel@gnu.org; Mon, 04 Nov 2013 00:15:01 -0500 Original-Received: from mail-pb0-x230.google.com ([2607:f8b0:400e:c01::230]:59033) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VdCV2-0005L4-OF for emacs-devel@gnu.org; Mon, 04 Nov 2013 00:14:52 -0500 Original-Received: by mail-pb0-f48.google.com with SMTP id mc17so6661614pbc.21 for ; Sun, 03 Nov 2013 21:14:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:face:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=cZmB6gpah3Kf3RI99I/9RQS6FUj8v8ZStmVqrqCDRsY=; b=Slw4KFuupiZ4DbRAqmE2TmLz/5vGhzRY/EjsmvNBix4RNSYm/jopW4VFI+tuvwjfuM nctoTJgmB/1iG46vlx4majzvVr/fU9HWGNCekNaTbbyUPfkP+T5EqliI5NTQs5yZEn0O 8RUki1HuYdIXqJG25zCMaKZjip3a7EErQqbDLQaqvsyUwMzXlITPcnDKYGkDN1poaoNt JEiRUvmQksy+8RwDsWKjSFf8fNiPMJPqoYUcN/CIX7c1upNsB7Vv9sR9L6qDov4uaYDF T8rhKLKzXldmiWtMgUVpQpsavyz37x0o7Pc6keOfhGOYKpRWzfrmwgz+igOOY1fooQ0Q 2E6Q== X-Received: by 10.66.102.9 with SMTP id fk9mr16182301pab.41.1383542091041; Sun, 03 Nov 2013 21:14:51 -0800 (PST) Original-Received: from localhost ([123.122.48.185]) by mx.google.com with ESMTPSA id xn12sm30223646pac.12.2013.11.03.21.14.48 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 03 Nov 2013 21:14:50 -0800 (PST) Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAAGFBMVEUzRVhbQj4eZqO6SjnT eWpxnMetm5b6/PmidmqrAAAAAWJLR0QAiAUdSAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1F B9cBBwMLBfKABCMAAAFoSURBVCjPtZI9a8MwEIaFoc7aYDdelQMna0Em3tsSr0XUeE2Q6a22a+v+ fk8fSSBkbDUI6dHpfe9OEvRgiD+ApqKPJgJeB6iUUXWESjUe/ig38AJrhqqvaU2nTIXbNvOQ40fe qdry4kyGoVWsfCQalXpHnJGM01wjWdYbMlXNFdsZDO69m9aqNqxEJqTEgbM5OF7wlEfIoll1Ked4 LbM5X2EdILLokEdmI8z7g5cKED0cuTC930TYhy7ZDekkXVGw/L60TguJePPxcJF48lpsSUWEA/Ju jGFNgJOXc4Hz7TmAdBeu5Ve4AEjOi2/2jfd3cAJZ+IbNrvdjgBZY01b+HTuG3cLws6BJZqVOj/pp T0OqVwx3rFq+QmJwx3loK5JSLEhDIt62+mtC2C+SrAUxEbV6C6v2BRbd6pILBKFpepKZJHgGgrKF sptSUUoczpwg2pQ7ZH1tgs0ou/917mzz6Cs2//C978cv5l07L02orIEAAAAASUVORK5CYII= In-Reply-To: (Bozhidar Batsov's message of "Sun, 3 Nov 2013 09:28:04 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (OS X 10.9) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c01::230 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:164917 Archived-At: On 2013-11-03 15:28 +0800, Bozhidar Batsov wrote: > I think this is the wrong kind of reasoning. The fact that something exists > (or doesn't exist) doesn't mean necessary that it was carefully thought > through. In the end of the day everyone makes design mistakes from time to > time. I guess the original reasoning was to provide as minimalistic API as > possible (or more likely - the API was modelled after Common Lisp, which > doesn't feature those functions as well). APIs, however, should evolve and > designers should always take account the way the API is actually used by > its clients. > > Common Lisp doesn't have those functions, either, but they're included in > the Alexandria library, that most Common Lisp projects use. The Common Lisp > core is beyond extension for various unfortunate reasons, but Emacs is > not... You know I am not disagreeing with the principles. Yes sure, it should but few are prepared to go through the same rigorous process as the forerunner did. Just saying... Leo