From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Shouldn't records be sequences? Date: Sun, 12 Apr 2020 15:14:36 -0400 Message-ID: References: <871rotdp21.fsf@gmail.com> <87mu7gbpst.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="17656"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: =?utf-8?B?xaB0xJtww6FuIE7Em21lYw==?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Apr 12 21:15:17 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jNi4b-0004Uw-HJ for ged-emacs-devel@m.gmane-mx.org; Sun, 12 Apr 2020 21:15:17 +0200 Original-Received: from localhost ([::1]:36230 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jNi4a-0003NG-IT for ged-emacs-devel@m.gmane-mx.org; Sun, 12 Apr 2020 15:15:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59790) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jNi43-0002pK-OL for emacs-devel@gnu.org; Sun, 12 Apr 2020 15:14:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jNi40-0003l2-8B for emacs-devel@gnu.org; Sun, 12 Apr 2020 15:14:42 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:55799) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jNi40-0003k6-2K for emacs-devel@gnu.org; Sun, 12 Apr 2020 15:14:40 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 21C1080DFA; Sun, 12 Apr 2020 15:14:39 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 6547D8066A; Sun, 12 Apr 2020 15:14:37 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1586718877; bh=xsLO6/dQezOMfdZkoAUVGAVGCbwnYUiLzuW3Riu5uWw=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=XqsgwoffLRSD/81+urPpc/0onedpMIaBCQaE7DGCWl0YKTNbbjqWcWn8MpdxV4Vzm xm0KXqpTQy5Z6/UYK9D5A7L+yC1OmEdbPv8uxKS0ZyGJn4tWNB4S/iJpitRtyTMRzE ogV0mRaEq7R3Y/bjcnMguCdf6s77rFjes6X0HEAP5M4H2TDnKTYR+2yJuGvTbgCOi9 vggM8yc9rkOC1Ljfj0g9c7rf6U8h1nS6zLMnMwEMG9si3C8eZHHRJ080//GtC897PK 6S1FRKtM9Xnt3DAKSlhPPI09NIzW9V85mqElCeUG6BQ5kzKzln1zfxVfST6D1xNCbf 5CpZ/HWrQyQsg== Original-Received: from alfajor (unknown [104.247.241.114]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 33B941202B6; Sun, 12 Apr 2020 15:14:37 -0400 (EDT) In-Reply-To: <87mu7gbpst.fsf@gmail.com> (=?utf-8?B?IsWgdMSbcMOhbiBOxJtt?= =?utf-8?B?ZWMiJ3M=?= message of "Sun, 12 Apr 2020 19:02:26 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 132.204.25.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:246874 Archived-At: > IOW, if records really are "much like a vector" (to quote the manual > section), is there any reason not to make the other sequence functions > support them? Mostly, the lack of a reason to add them? > Alternatively, if their being like a vector is only an implementation > detail, does it make sense to expose that in Lisp at all and > document it? We should probably document it less, indeed, or clarify that it's a historical accident and code shouldn't rely on it. Stefan