From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from zero.zsh.org (zero.zsh.org [IPv6:2a02:898:31:0:48:4558:7a:7368]) by inbox.vuxu.org (Postfix) with ESMTP id B1232221BE for ; Thu, 18 Jan 2024 18:22:55 +0100 (CET) ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1705598575; b=ni6qjdCdSS5qd4e+wi0Lz0kC8mItFFLi8dBvBmKs+w+KREgnUAWJu8yo70sda9Ns48osSFfw5c 5qVs6v2/VohxBXURPH12RI61+i09VTT1J51vbQUcgB4W+rGUDoe+RdadJNCk3V6YpNQnZFI//k ZSKw2hV6ZUPiREDpA/fEB3K0qHSaIW1NJojQw49ynrw0iHHL2RKQRDtdPqx+yAac3fWLyzSjVu eSF5+mQcUIwFvAMk4Nq+XnythltFIrAGLiyvsX+EQ/h4GDhaI1npJG8uAFgz7LUap9epH1bP3P pqfYPAxwdCorvqdORu3pBmO4RoJxGfz5qKT+Fn8kd/YzcA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mta04.eastlink.ca) smtp.remote-ip=24.224.136.10; dmarc=none header.from=eastlink.ca; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1705598575; bh=5ZFSbs66fNdAkzGGQhB3/IPxGbAXX80eGQgPi/Oc75Q=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:In-Reply-To:From:References:To:Subject:MIME-Version:Date: Message-ID:Content-Type:DKIM-Signature; b=TiXiufohlqsDzZ6d1Z1WkoQhcnvXSYt19m16plkTs+VtJSnDnhHd2qgNBOGclYhmvUhI1ZcOoK X1lYv0a+heGDrTt+dUkRNxNduazuviRrAlRFe8fOCQLiKz3oDod5rbZfhD73bJgUww4Ad2ndwo 4AvPGluGE4Tjps0SJrJbaFGqZ3GWe3dcvmq5wCh4gZ6n40itpvmcKWauFYSHd3DDxomUmQRkE/ GtJ6ABUgCe0zNs0zFDl0mWIFvwi9p+9mTq/4hDkQD7cL9T+m9/So/530aY06Jmf2/NzJ2V2ff9 yTAb8lmmu49MNvuB+oz6LmQQOVFwedxlHZLFc96th5ctGg==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:In-reply-to:From:References:To: Subject:MIME-version:Date:Message-id:Content-type:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=wpqrb89taSCc5NgjGOvWV2cDBgLl+pZ9IjIsPlk8a00=; b=d4l0r94UnLEifQB3E0+LKr7Jrn HljT2F2+stE5acemVnwGpJ59RwFW0jOUWdNxgYPSn7tffNyMtF2m4rdvuJb7k7R6cfz/+rdYDBkwN pQgxAbAWoWbucgQ5/EA2MJDN45qQHGSPJnzT+CSH27mh7Ym8xrcCTKuRyjAUKSDBST/YC8ur2aauL xA6Uja5i4YIH1BkDDzEimtstdyadTB075KVxyJ1+AvI58wrYKDZBGFTkd97QXnugUgb5nc+C3+R5j BboEF4tMehRf/gVqs0y/8zcZdawyV8pmU9nMeImw03nSl3Y5OcoSrDgDHATxucCMzem1LkVTNsvVc FePmWcNQ==; Received: by zero.zsh.org with local id 1rQW6R-000EfG-6c; Thu, 18 Jan 2024 17:22:55 +0000 Authentication-Results: zsh.org; iprev=pass (mta04.eastlink.ca) smtp.remote-ip=24.224.136.10; dmarc=none header.from=eastlink.ca; arc=none Received: from mta04.eastlink.ca ([24.224.136.10]:46619) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1rQW5u-000DyZ-Ei; Thu, 18 Jan 2024 17:22:23 +0000 Received: from csp02.eastlink.ca ([71.7.199.167]) by mta04.eastlink.ca ([24.224.136.10]) with ESMTPS id <0S7G1857MW92X0A0@mta04.eastlink.ca> for zsh-users@zsh.org; Thu, 18 Jan 2024 13:22:21 -0400 (AST) Received: from [192.168.0.11] (host-24-207-19-13.public.eastlink.ca [24.207.19.13]) by csp02.eastlink.ca ([71.7.199.167]) with ESMTPSA id QW5srrL6ytqGEQW5srHocP (version=TLSv1_2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256); Thu, 18 Jan 2024 13:22:21 -0400 X-Authority-Analysis: v=2.4 cv=Zvoraf3G c=1 sm=1 tr=0 ts=65a95e4c a=e7T7DzMKK1R988ZCg0wLyw==:117 a=e7T7DzMKK1R988ZCg0wLyw==:17 a=r77TgQKjGQsHNAKrUKIA:9 a=FXceT9roc6Kh6Nq8zPkA:9 a=QEXdDO2ut3YA:10 a=pGLkceISAAAA:8 a=AA4Ng6NoiepTvPSv7iQA:9 a=P79tfK0RBFfvatev:21 a=_W_S_7VecoQA:10 X-Vade-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdejkedgjeehucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecugfetuffvnffkpffmpdfqfgfvnecuuegrihhlohhuthemuceftddtnecunecujfgurheptgfkffggfgfuvfhfhfgjsegrtderredtvdejnecuhfhrohhmpeftrgihucetnhgurhgvfihsuceorhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrqeenucggtffrrghtthgvrhhnpefhteethfevgeeuvdelgefgvdevudefueduffdvgfelvddvgfdtieegueeuleeifeenucfkphepvdegrddvtdejrdduledrudefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepvdegrddvtdejrdduledrudefpdhhvghloheplgduledvrdduieekrddtrdduudgnpdhmrghilhhfrhhomheprhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrpdhnsggprhgtphhtthhopedvpdhrtghpthhtohepreerpdhrtghpthhtohepiihshhdquhhsvghrshesiihshhdrohhrghdpghgvthdqkghiphfrrghsshifugepthhruhgv X-Vade-Score: 0 X-Vade-State: 0 X-EL-AUTH: rayandrews@eastlink.ca Content-type: multipart/alternative; boundary="------------InzMZadhTxhp0US6WrlwI0g0" Message-id: <0eb11a38-f94a-4289-babd-c9787787efbf@eastlink.ca> Date: Thu, 18 Jan 2024 09:22:19 -0800 MIME-version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Empty element elision and associative arrays (was Re: Slurping a file) Content-language: en-US To: zsh-users@zsh.org References: <205735b2-11e1-4b5e-baa2-7418753f591f@eastlink.ca> <7b20b425-59b2-466d-a9aa-a2768d1d4633@app.fastmail.com> <4b475319-ef78-4d46-a62c-27c3b0af3ea4@eastlink.ca> <49702cd2-814c-4461-9819-cc2b85bd3ea2@eastlink.ca> From: Ray Andrews In-reply-to: X-Seq: 29514 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: , List-Subscribe: , List-Unsubscribe: , List-Post: List-Owner: List-Archive: This is a multi-part message in MIME format. --------------InzMZadhTxhp0US6WrlwI0g0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 2024-01-18 08:20, Mark J. Reed wrote: > > Even if it were changed such that it started to do so as of 6.0 or > whatever, you'd still have to write code to check the version I'm not qualified to disagree with that, still I'm curious: if the arrays were sorted (alphabetical is perhaps 'obvious') what could that ever break?  Since the order now is indeterminate, who/what would ever actually rely on that?  As if the order were depended on to be random.  Really?  So if they were sorted, who would know or care *unless* the decided to take advantage of it? Seems to me to be the sort of thing that can't possibly have any gotchas. --------------InzMZadhTxhp0US6WrlwI0g0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit


On 2024-01-18 08:20, Mark J. Reed wrote:

Even if it were changed such that it started to do so as of 6.0 or whatever, you'd still have to write code to check the version

I'm not qualified to disagree with that, still I'm curious: if the arrays were sorted (alphabetical is perhaps 'obvious') what could that ever break?  Since the order now is indeterminate, who/what would ever actually rely on that?  As if the order were depended on to be random.  Really?  So if they were sorted, who would know or care *unless* the decided to take advantage of it?  Seems to me to be the sort of thing that can't possibly have any gotchas.


--------------InzMZadhTxhp0US6WrlwI0g0--