From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Anand Tamariya Newsgroups: gmane.emacs.devel Subject: Negative nth index Date: Sun, 22 Dec 2024 11:13:18 +0530 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000060ebd0629d55c62" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2431"; mail-complaints-to="usenet@ciao.gmane.io" To: Emacs Devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Dec 22 06:44:32 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 1tPElT-0000X7-KL for ged-emacs-devel@m.gmane-mx.org; Sun, 22 Dec 2024 06:44:31 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tPEkY-00087d-Qv; Sun, 22 Dec 2024 00:43:35 -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 1tPEkW-00087O-QJ for emacs-devel@gnu.org; Sun, 22 Dec 2024 00:43:32 -0500 Original-Received: from mail-oi1-x230.google.com ([2607:f8b0:4864:20::230]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tPEkV-0001LT-8Q for emacs-devel@gnu.org; Sun, 22 Dec 2024 00:43:32 -0500 Original-Received: by mail-oi1-x230.google.com with SMTP id 5614622812f47-3eb9101419cso1721933b6e.0 for ; Sat, 21 Dec 2024 21:43:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734846209; x=1735451009; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=vbRLABD9vvGQllEQB9WGi6SPRzyyRBvZLHG6pu8fDB8=; b=MyjHZstLjNdEHefFIHbupb+j75VKoZID8lvkIjEt/v2Ls2G3na6l+ABznVXEjj+g8l o8THebU3Hz0SLHjSKLeTYXmieioOST6W6Zo9Yl84c4aGTbLNCbrwKqOm4NS4v4Jjgd6b ZJeb64VzncfK75p16bxJtDKUQxdFdIFfkeyRZL3CK6jAWcFYeCBYdiWgsaVjE/Ea0yGn Hf15J2gmnfRYy/f8B0jnJc9iYifmqKjJmHg1N9W+SWi37AeLJltvLeGIMJk7NNWdc4Ln 5R0E0YBu8IAz0PiiWoPBWeGbyhV54uRb/NPTu8kMjL6yx1p+J9oSaDqZ80IcW6Jeyv6a mqiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734846209; x=1735451009; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=vbRLABD9vvGQllEQB9WGi6SPRzyyRBvZLHG6pu8fDB8=; b=OKfs2hCFsMa62baeW4bymb8nD+JfoZapdR+qpeRzo5YM+Gup1DzdaWb9bbrswO9DNw oSu+OLyPMHtWb2HVHet0ee/ZUC5/2k3Bdma4lYzqqgUf7MFlUq4nS3CChpMoPQdnX+B6 v3IVoaUv1c2j6cFH3kjSOgL/HUDeliRJonr1MZ8Hq/+lQyVhuYQQPeLkDIAXMEx0msfG VRhpkpBxBlWtpOLXivDlomKt4A+pCOhW8Pojl8jmFIuJtJ3TByE18lYhH4zi/mfkbWuR j+sfQuosXQTPu4MaYEvouCfQhS47IRADttYVdyAnFqY8qN/lZP74aQP2oUE+mQYyLbCl SZBA== X-Gm-Message-State: AOJu0YwJ/AS9lVq84U4FsRwNsuImmrbVVol8TeagFHke1+u1JK4/B92d upPgpZOL8lV5yi4MmMgvI7PJxuH8A/Hi7LGkH3up+KkKqcSPfNT5Ggpk2w4jctkA7UhNfeX3E9u 0BeQfV/QD+KdiFa8WdWK/2iJEtGyoa8mb X-Gm-Gg: ASbGncuOUS2/RnT+Mhsl62Wq7zKF26Aeb/2u4YApIFO0wsf+SFnuX2eZHX88qN2cPCp K2VSJNdjKpQ7pmRnHdNCE4+/KWeQRFAIVaoVWB3o= X-Google-Smtp-Source: AGHT+IEAmaRLeZriFBBZI2mUVzRDoYV9SXggzXkOSAPYLYvsgmc/zknzB2Izxc15bO3A809wKvjMQAnTK3T92qqt+m0= X-Received: by 2002:a05:6808:21a4:b0:3e7:ee47:2305 with SMTP id 5614622812f47-3ed88f796a9mr4698571b6e.23.1734846208935; Sat, 21 Dec 2024 21:43:28 -0800 (PST) Received-SPF: pass client-ip=2607:f8b0:4864:20::230; envelope-from=atamariya@gmail.com; helo=mail-oi1-x230.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:326841 Archived-At: --000000000000060ebd0629d55c62 Content-Type: text/plain; charset="UTF-8" Should negative index for nth be valid? e.g. (nth -1 '(1 2)) returns 1 --000000000000060ebd0629d55c62 Content-Type: text/html; charset="UTF-8"
Should negative index for nth be valid? e.g.
(nth -1 '(1 2)) returns 1

--000000000000060ebd0629d55c62--