From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark H Weaver Newsgroups: gmane.lisp.guile.bugs Subject: bug#13905: (max inexact exact) => always inexact? Date: Fri, 08 Mar 2013 13:59:29 -0500 Message-ID: <8738w567la.fsf@tines.lan> References: <75E5F130-E4B6-49CF-9937-CF2D153B494C@bluewin.ch> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1362769233 25638 80.91.229.3 (8 Mar 2013 19:00:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 8 Mar 2013 19:00:33 +0000 (UTC) Cc: 13905@debbugs.gnu.org To: Daniel Llorens Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Fri Mar 08 20:00:57 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 1UE2XJ-0002Av-K1 for guile-bugs@m.gmane.org; Fri, 08 Mar 2013 20:00:57 +0100 Original-Received: from localhost ([::1]:60870 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UE2Wx-0001Mh-P4 for guile-bugs@m.gmane.org; Fri, 08 Mar 2013 14:00:35 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:33198) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UE2Wr-0001MX-3c for bug-guile@gnu.org; Fri, 08 Mar 2013 14:00:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UE2Wm-0001Nt-74 for bug-guile@gnu.org; Fri, 08 Mar 2013 14:00:29 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35788) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UE2Wm-0001Nk-3y for bug-guile@gnu.org; Fri, 08 Mar 2013 14:00:24 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UE2XN-0007fM-RN for bug-guile@gnu.org; Fri, 08 Mar 2013 14:01:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Mark H Weaver Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-guile@gnu.org Resent-Date: Fri, 08 Mar 2013 19:01: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.136276922627437 (code B ref 13905); Fri, 08 Mar 2013 19:01:01 +0000 Original-Received: (at 13905) by debbugs.gnu.org; 8 Mar 2013 19:00:26 +0000 Original-Received: from localhost ([127.0.0.1]:39897 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UE2Wn-00077c-M6 for submit@debbugs.gnu.org; Fri, 08 Mar 2013 14:00:26 -0500 Original-Received: from world.peace.net ([96.39.62.75]:53386 ident=hope1) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UE2Wm-00074v-1B for 13905@debbugs.gnu.org; Fri, 08 Mar 2013 14:00:24 -0500 Original-Received: from 209-6-91-212.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com ([209.6.91.212] helo=tines.lan) by world.peace.net with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1UE2W3-0007fM-9K; Fri, 08 Mar 2013 13:59:39 -0500 In-Reply-To: <75E5F130-E4B6-49CF-9937-CF2D153B494C@bluewin.ch> (Daniel Llorens's message of "Fri, 8 Mar 2013 13:43:15 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) 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:6885 Archived-At: Daniel Llorens writes: > My interest in this is that I don't want > > (fold max -inf.0 exact-number-list) > > to return an inexact number. By the way, there's an easy way to accomplish what you want. Simply use 'reduce' (from SRFI-1) instead of 'fold': (reduce max -inf.0 exact-number-list) Regards, Mark