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#13741: guile-2.0: optimize, and eq-ness of literals (test-suite) Date: Fri, 01 Mar 2013 11:13:17 -0500 Message-ID: <877glrumhu.fsf@tines.lan> References: <87621q8fo4.fsf@gmail.com> <87k3q67zhy.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1362154448 25412 80.91.229.3 (1 Mar 2013 16:14:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 1 Mar 2013 16:14:08 +0000 (UTC) Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 13741@debbugs.gnu.org To: Daniel Hartwig Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Fri Mar 01 17:14:31 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 1UBSbP-0003e1-5j for guile-bugs@m.gmane.org; Fri, 01 Mar 2013 17:14:31 +0100 Original-Received: from localhost ([::1]:43637 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UBSb3-0006sk-VF for guile-bugs@m.gmane.org; Fri, 01 Mar 2013 11:14:09 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:51872) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UBSaw-0006sb-LB for bug-guile@gnu.org; Fri, 01 Mar 2013 11:14:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UBSau-0005yu-7n for bug-guile@gnu.org; Fri, 01 Mar 2013 11:14:02 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52875) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UBSau-0005yg-4t for bug-guile@gnu.org; Fri, 01 Mar 2013 11:14:00 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UBScr-00047K-Q5 for bug-guile@gnu.org; Fri, 01 Mar 2013 11:16: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, 01 Mar 2013 16:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13741 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 13741-submit@debbugs.gnu.org id=B13741.136215453815796 (code B ref 13741); Fri, 01 Mar 2013 16:16:01 +0000 Original-Received: (at 13741) by debbugs.gnu.org; 1 Mar 2013 16:15:38 +0000 Original-Received: from localhost ([127.0.0.1]:58339 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UBScS-00046g-8X for submit@debbugs.gnu.org; Fri, 01 Mar 2013 11:15:38 -0500 Original-Received: from world.peace.net ([96.39.62.75]:41003) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UBScP-00046Y-Mp for 13741@debbugs.gnu.org; Fri, 01 Mar 2013 11:15:35 -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 1UBSaL-0005AF-3y; Fri, 01 Mar 2013 11:13:25 -0500 In-Reply-To: (Daniel Hartwig's message of "Mon, 18 Feb 2013 18:02:15 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (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:6812 Archived-At: Daniel Hartwig writes: > On 18 February 2013 17:16, Ludovic Court=C3=A8s wrote: >> Quoth R5RS: >> >> `Eq?''s behavior on numbers and characters is >> implementation-dependent, but it will always return either true or >> false, and will return true only when `eqv?' would also return >> true. `Eq?' may also behave differently from `eqv?' on empty >> vectors and empty strings. >> >> What we may get wrong is that it looks as if it doesn=E2=80=99t always r= eturn >> either true or false, because the behavior depends on whether one of the >> operands is a literal. > > I took that to mean only that eq? always returns a boolean, rather > than requiring it to return the same boolean given the same numeric > arguments. It would be fine to simplify some rationals and not > others, as this action does not affect the outcome of eqv?. Yes, this is my understanding as well. Mark