From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Negative nth index Date: Sun, 22 Dec 2024 09:39:48 +0200 Message-ID: <865xnc6u9n.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19847"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Anand Tamariya Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Dec 22 08:40:38 2024 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 1tPGZq-00051Y-8b for ged-emacs-devel@m.gmane-mx.org; Sun, 22 Dec 2024 08:40:38 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tPGZ8-0006oO-NT; Sun, 22 Dec 2024 02:39:54 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tPGZ5-0006no-Uu for emacs-devel@gnu.org; Sun, 22 Dec 2024 02:39:52 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tPGZ5-0001Mm-M3; Sun, 22 Dec 2024 02:39:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Og1X3f0BueFNLfXRWfw7pJd2mHQxBiueIH6aytP9VXU=; b=DwSbCYp/fUU2 RR+8ASpZ6HX9x+sTccjTqD5JzJexgeFBUZxdLsuxQxR/52DSEQmu0zii5nXBPslSYm8u50PhS1/2A Q5yI7sxwbpPBwi2OMpmpmb+bKEeCVR9qZ3QNnIoG5urRkP3sx13F2Oc98sb2y3+TaNG088m5iwvuS jC0aLKPXUIt70lCRUXPAs2E0LV+HO/Sp+ZmkDc1NQAnX6Mw4g2zEjOEgErm8xBzu+cnbCmifxWotT 6jsS0zsI/1LBz/N6Esd6bqxJXCIuf/Tah/UTufEjeZT7kzaHQ12itYhgnGkwopxpGy1Vb7Fbn8z12 Y9WvS7G6g0MN3vd6w36dxA==; In-Reply-To: (message from Anand Tamariya on Sun, 22 Dec 2024 11:13:18 +0530) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:326843 Archived-At: > From: Anand Tamariya > Date: Sun, 22 Dec 2024 11:13:18 +0530 > > Should negative index for nth be valid? e.g. > (nth -1 '(1 2)) returns 1 What does this do in other Lisps?