From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nicolas Petton Newsgroups: gmane.emacs.devel Subject: Re: seq-group-by returns groups in wrong order? Date: Mon, 09 Feb 2015 13:21:56 +0100 Message-ID: <87egpzi8bf.fsf@petton.fr> References: <8761bdi4ln.fsf@mailbox.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1423484893 2708 80.91.229.3 (9 Feb 2015 12:28:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 9 Feb 2015 12:28:13 +0000 (UTC) Cc: emacs-devel@gnu.org To: Alexander Baier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 09 13:28:01 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 1YKnRX-00008I-4Y for ged-emacs-devel@m.gmane.org; Mon, 09 Feb 2015 13:27:59 +0100 Original-Received: from localhost ([::1]:60569 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKnRW-0007Xt-Ba for ged-emacs-devel@m.gmane.org; Mon, 09 Feb 2015 07:27:58 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41264) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKnRC-0007V7-CD for emacs-devel@gnu.org; Mon, 09 Feb 2015 07:27:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YKnR7-0006WB-Cj for emacs-devel@gnu.org; Mon, 09 Feb 2015 07:27:38 -0500 Original-Received: from out1-smtp.messagingengine.com ([66.111.4.25]:50041) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKnR7-0006W2-5G for emacs-devel@gnu.org; Mon, 09 Feb 2015 07:27:33 -0500 Original-Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 8214720CA3 for ; Mon, 9 Feb 2015 07:21:58 -0500 (EST) Original-Received: from frontend2 ([10.202.2.161]) by compute6.internal (MEProxy); Mon, 09 Feb 2015 07:21:58 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=x-sasl-enc:references:from:to:cc:subject :in-reply-to:date:message-id:mime-version:content-type; s= smtpout; bh=/PH5ktoAGyOX8IezInh7uMumJHg=; b=juCTSCYiP31vL52YmDZ5 9IyBpljMN27eMag0oRHw1rq7IWiLjAzowba2Qvxp95kbMIEwvvTokUH2YVFQ41f/ iKRRpn5AXkh1o4vJTHRTyoaPQjYPGBHLnVozoHKJWq7SbQZA6v33ze7N1kYAIDGO Kg4ukXA04u13TXJQAOCeQZk= X-Sasl-enc: gWSmSE7VCWQTQR+5ZGUpt08ef378iHpfAkg6vR9AKWYx 1423484518 Original-Received: from blueberry (unknown [86.69.211.216]) by mail.messagingengine.com (Postfix) with ESMTPA id C7F2968012D; Mon, 9 Feb 2015 07:21:57 -0500 (EST) User-agent: mu4e 0.9.9.6pre3; emacs 24.4.1 In-reply-to: <8761bdi4ln.fsf@mailbox.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 66.111.4.25 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:182679 Archived-At: Alexander Baier writes: > Hello, > > The groups returned by seq-group-by are reversed, is this intended > behaviour? > > (seq-group-by #'oddp [1 2 3 4 5]) > ;; => ((t 5 3 1) (nil 4 2)) > > I was expecting ((t 1 3 5) (nil 2 4)) to be returned. This is seq.el > from elpa, version 1.1. I updated it both in Emacs master and GNU ELPA, and bumped the version number to 1.1.1. Cheers, Nico -- Nicolas Petton http://nicolas-petton.fr