From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Simen =?iso-8859-1?q?Heggest=F8yl?= Newsgroups: gmane.emacs.devel Subject: Re: seq-some-p and nil Date: Wed, 23 Sep 2015 10:48:30 +0200 Message-ID: <1442998110.2193.1@smtp.gmail.com> References: <1441295429.4215.0@smtp.gmail.com> <87vbbrl2ai.fsf@petton.fr> <1441907170.4222.0@smtp.gmail.com> <87y4gdylde.fsf@petton.fr> <1442942272.3270.1@smtp.gmail.com> <87mvwdedi4.fsf@petton.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=-QLGR8AxKronSZX4Ayzxa" X-Trace: ger.gmane.org 1442998136 19245 80.91.229.3 (23 Sep 2015 08:48:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 23 Sep 2015 08:48:56 +0000 (UTC) Cc: emacs-devel@gnu.org To: Nicolas Petton Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 23 10:48:51 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 1ZefjO-0007At-Vr for ged-emacs-devel@m.gmane.org; Wed, 23 Sep 2015 10:48:51 +0200 Original-Received: from localhost ([::1]:46332 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZefjO-0003AV-BN for ged-emacs-devel@m.gmane.org; Wed, 23 Sep 2015 04:48:50 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39155) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZefjB-00039t-2F for emacs-devel@gnu.org; Wed, 23 Sep 2015 04:48:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zefj7-0003W1-Qa for emacs-devel@gnu.org; Wed, 23 Sep 2015 04:48:37 -0400 Original-Received: from mail-la0-x22b.google.com ([2a00:1450:4010:c03::22b]:35297) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zefj7-0003Vt-It for emacs-devel@gnu.org; Wed, 23 Sep 2015 04:48:33 -0400 Original-Received: by lagj9 with SMTP id j9so42092822lag.2 for ; Wed, 23 Sep 2015 01:48:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:subject:to:cc:message-id:in-reply-to:references :mime-version:content-type; bh=XOem8CcvrkDEW0KJ+tePy+zD5JebbHvUoqViQQimvWI=; b=Vogpz3LAO5HvsBlh+VvF/c9SZllxSZnW+FG0CcydoJwWBD1WCPSnU86OVgTAzHykMp mueFRpvIOfj3hzDn4/FxqgKfdCxvTS3w80GqCZX0uPTbLz8F+7OGYwh4H0TFFjazPY1x IIyKlxZDk+7Xe/293+78IfI5juoXhTyL25wgiIB/R2JORAm5JxG7IA1Kr2NEA6mc5ELm pu0f1vvhJHgMj95eOZBC77Clc9v9Ceb+CXlqUwaY+usTn5ZsJPapAsdDtVxkSWXWmwHy RCw/iB57rNYmjwdLLKBBxxDflNEfE8PjqccSncRG+N3kGix4AbKAGW3Ma56tQO6CTI7f fELA== X-Received: by 10.25.17.72 with SMTP id g69mr3631742lfi.12.1442998112650; Wed, 23 Sep 2015 01:48:32 -0700 (PDT) Original-Received: from [192.168.101.25] ([77.40.215.202]) by smtp.gmail.com with ESMTPSA id j2sm637818lag.9.2015.09.23.01.48.31 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 23 Sep 2015 01:48:31 -0700 (PDT) In-Reply-To: <87mvwdedi4.fsf@petton.fr> X-Mailer: geary/0.10.0 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::22b 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:190279 Archived-At: --=-QLGR8AxKronSZX4Ayzxa Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable On Wed, Sep 23, 2015 at 10:38 AM, Nicolas Petton =20 wrote: > Simen Heggest=C3=B8yl writes: >=20 > Hi Simen, >=20 >> Ah, sorry, I should have been clearer. What I meant was that it=20 >> could >> guarantee to return the *first* non-nil value that resulted from >> applying the predicate, like in CL. >>=20 >> So for instance, (seq-some #'1+ '(1 3 5)) could guarantee to return=20 >> 2, >> not 4 or 6. >=20 > [...] > Or did you mean that the documentation of `seq-some' should state that > `seq-some' returns the first non-nil value? >=20 > Cheers, > Nico Yes, that's what I meant. -- Simen = --=-QLGR8AxKronSZX4Ayzxa Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable

On Wed, Sep 23, 2015 at 10:38 AM, Nicolas Petton <nicolas@petton= .fr> wrote:
Simen Heggest=C3=B8yl <si= menheg@gmail.com> writes: Hi Simen,
Ah, sorry, I should have been clearer. What I meant was that i= t could guarantee to return the *first* non-nil value that resulted from applying the predicate, like in CL. So for instance, (seq-some #'1+ '(1 3 5)) could guarantee to return 2, not 4 or 6.
[...] Or did you mean that the documentation of `seq-some' should state that `seq-some' returns the first non-nil value? Cheers, Nico

Yes, that's what I meant.

-- Simen
= --=-QLGR8AxKronSZX4Ayzxa--