From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.devel Subject: Re: behaviour change in cl-subseq Date: Thu, 06 Aug 2015 08:11:33 +0200 Message-ID: <87pp31djze.fsf@gnu.org> References: <87pp32orsy.fsf@newcastle.ac.uk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1438841516 18002 80.91.229.3 (6 Aug 2015 06:11:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Aug 2015 06:11:56 +0000 (UTC) Cc: emacs-devel@gnu.org To: Leo Liu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 06 08:11:48 2015 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 1ZNEP4-0005YS-Au for ged-emacs-devel@m.gmane.org; Thu, 06 Aug 2015 08:11:46 +0200 Original-Received: from localhost ([::1]:43511 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNEP3-0005Vo-CA for ged-emacs-devel@m.gmane.org; Thu, 06 Aug 2015 02:11:45 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50691) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNEOy-0005VT-BC for emacs-devel@gnu.org; Thu, 06 Aug 2015 02:11:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZNEOt-0004Eq-8Q for emacs-devel@gnu.org; Thu, 06 Aug 2015 02:11:40 -0400 Original-Received: from deliver.uni-koblenz.de ([141.26.64.15]:56352) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNEOt-0004EQ-2O for emacs-devel@gnu.org; Thu, 06 Aug 2015 02:11:35 -0400 Original-Received: from thinkpad-t440p (dhcp42.uni-koblenz.de [141.26.71.42]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by deliver.uni-koblenz.de (Postfix) with ESMTPSA id 652DB1A821E; Thu, 6 Aug 2015 08:11:34 +0200 (CEST) Mail-Followup-To: Leo Liu , emacs-devel@gnu.org In-Reply-To: (Leo Liu's message of "Thu, 06 Aug 2015 08:10:29 +0800") User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 141.26.64.15 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:188473 Archived-At: Leo Liu writes: >> (cl-subseq '() 10 10) ;; errors > > What did you get when you run it in Common Lisp? In SBCL 1.2.12 I get an error: * (subseq '() 10 10) debugger invoked on a SB-KERNEL:BOUNDING-INDICES-BAD-ERROR in thread #: The bounding indices 10 and 10 are bad for a sequence of length 0. See also: The ANSI Standard, Glossary entry for "bounding index designator" The ANSI Standard, writeup for Issue SUBSEQ-OUT-OF-BOUNDS:IS-AN-ERROR So I guess the new behavior is in compliance with Common Lisp. Or well, not with the current ANSI standard but with a future one. Bye, Tassilo