From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.devel Subject: RE: Predicate for true lists Date: Mon, 4 Jun 2018 20:25:02 -0700 (PDT) Message-ID: <81c1ea0b-309f-4ee4-96ee-12b6bf8b87b7@default> References: <87fu3vdjjk.fsf@tcd.ie> <87bmcqhhsf.fsf@tcd.ie> <951fa1f9-7e9f-4870-a377-930b91a44e05@default> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1528168995 6686 195.159.176.226 (5 Jun 2018 03:23:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 5 Jun 2018 03:23:15 +0000 (UTC) To: Paul Eggert , "Basil L. Contovounesios" , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 05 05:23:11 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fQ2Yx-0001fE-Ei for ged-emacs-devel@m.gmane.org; Tue, 05 Jun 2018 05:23:11 +0200 Original-Received: from localhost ([::1]:43094 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fQ2b4-00017z-IW for ged-emacs-devel@m.gmane.org; Mon, 04 Jun 2018 23:25:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44176) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fQ2ay-00015i-6C for emacs-devel@gnu.org; Mon, 04 Jun 2018 23:25:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fQ2as-0004Ty-OX for emacs-devel@gnu.org; Mon, 04 Jun 2018 23:25:15 -0400 Original-Received: from userp2120.oracle.com ([156.151.31.85]:48368) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fQ2as-0004S9-Fk for emacs-devel@gnu.org; Mon, 04 Jun 2018 23:25:10 -0400 Original-Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w553LEfc059744; Tue, 5 Jun 2018 03:25:07 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2017-10-26; bh=vkW/VyQtjP7W0QAoFnelwnwiOf3s9zL5sohdX+Sshh0=; b=jRKcBnUu9QpKMYGUtCNLVC9lYaZBgdLaKSAFmUB18zQaheaZcbvmwwKRi8b6t/bHt8v0 +lINfU+B2nRSqWqElLe3Mo2mJoaQuFZ+gDzV9mduiH0v5oKJHHTjTxM5tJiOTo3bTZSb d74ztddGoPPRnfKte5BS3c4qGmv6DZXXiXAyLQWqTDsZZZ3GBrfKG72J9K96ii/GR61n Jq+0CtGDTVwtVICEjgzL1JhkiKAZ2GXbj/UtaeMbSZ9OUwXqOMo9lgYcSQAqh7u0rXx3 1KsPE3x6RT5VqaPbbehze6cbFfNPDVld2+i1pGW0CJgUBYl+Iv6ZqsVgs7yjgKK2pNQj ZQ== Original-Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp2120.oracle.com with ESMTP id 2jbvype4m6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 05 Jun 2018 03:25:07 +0000 Original-Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w553P595029283 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 5 Jun 2018 03:25:06 GMT Original-Received: from abhmp0003.oracle.com (abhmp0003.oracle.com [141.146.116.9]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w553P4wb008989; Tue, 5 Jun 2018 03:25:05 GMT In-Reply-To: <951fa1f9-7e9f-4870-a377-930b91a44e05@default> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4690.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8914 signatures=668702 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=486 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1805220000 definitions=main-1806050040 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-Received-From: 156.151.31.85 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:226023 Archived-At: > That just says: (null (cdr (last xs))), which is > (and xs (nthcdr (1- (safe-length xs)) xs))). Sheesh; sorry. That should have been just what Philip wrote in the beginning: (null (nthcdr (safe-length xs) xs)).