From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Llorens Newsgroups: gmane.lisp.guile.bugs Subject: bug#13905: (max inexact exact) => always inexact? Date: Fri, 8 Mar 2013 20:19:10 +0100 Message-ID: References: <75E5F130-E4B6-49CF-9937-CF2D153B494C@bluewin.ch> <8738w567la.fsf@tines.lan> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1362770379 4362 80.91.229.3 (8 Mar 2013 19:19:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 8 Mar 2013 19:19:39 +0000 (UTC) Cc: 13905@debbugs.gnu.org To: Mark H Weaver Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Fri Mar 08 20:19:59 2013 Return-path: Envelope-to: guile-bugs@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 1UE2pj-00080e-7Q for guile-bugs@m.gmane.org; Fri, 08 Mar 2013 20:19:59 +0100 Original-Received: from localhost ([::1]:36690 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UE2pM-0005tr-OJ for guile-bugs@m.gmane.org; Fri, 08 Mar 2013 14:19:36 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:37142) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UE2pE-0005tk-Dn for bug-guile@gnu.org; Fri, 08 Mar 2013 14:19:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UE2p9-0008F8-QZ for bug-guile@gnu.org; Fri, 08 Mar 2013 14:19:28 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35827) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UE2p9-0008Ez-NF for bug-guile@gnu.org; Fri, 08 Mar 2013 14:19:23 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UE2pl-00086b-UX for bug-guile@gnu.org; Fri, 08 Mar 2013 14:20:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Daniel Llorens Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-guile@gnu.org Resent-Date: Fri, 08 Mar 2013 19:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13905 X-GNU-PR-Package: guile X-GNU-PR-Keywords: notabug Original-Received: via spool by 13905-submit@debbugs.gnu.org id=B13905.136277040031143 (code B ref 13905); Fri, 08 Mar 2013 19:20:01 +0000 Original-Received: (at 13905) by debbugs.gnu.org; 8 Mar 2013 19:20:00 +0000 Original-Received: from localhost ([127.0.0.1]:39936 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UE2pj-00086F-2z for submit@debbugs.gnu.org; Fri, 08 Mar 2013 14:19:59 -0500 Original-Received: from zhbdzmsp-smta15.bluewin.ch ([195.186.99.132]:42227) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UE2pg-000862-Jb for 13905@debbugs.gnu.org; Fri, 08 Mar 2013 14:19:57 -0500 Original-Received: from [195.186.227.131] ([195.186.227.131:38885] helo=zhhdzmsp-smta14.bluewin.ch) by zhbdzmsp-smta15.bluewin.ch (envelope-from ) (ecelerity 2.2.3.47 r(39824M)) with ESMTP id B4/54-26473-EA93A315; Fri, 08 Mar 2013 19:19:11 +0000 Original-Received: from [172.16.96.17] (62.2.203.131) by zhhdzmsp-smta14.bluewin.ch (8.5.142) (authenticated as dll@bluewin.ch) id 511CD83E01EB0CC4; Fri, 8 Mar 2013 19:19:10 +0000 In-Reply-To: <8738w567la.fsf@tines.lan> X-Mailer: Apple Mail (2.1085) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:6886 Archived-At: On Mar 8, 2013, at 19:59, Mark H Weaver wrote: > By the way, there's an easy way to accomplish what you want. Simply = use > 'reduce' (from SRFI-1) instead of 'fold': >=20 > (reduce max -inf.0 exact-number-list) I was about to roll my own, but this is exactly the case where fold = doesn't work and reduce does. Thank you, Daniel=