From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Luis Felipe Newsgroups: gmane.lisp.guile.user Subject: Re: srfi-64 tests passing when they should not Date: Wed, 05 May 2021 13:47:14 +0000 Message-ID: References: <40a496bb-c005-3c6f-2bf2-7025f3a234bb@posteo.de> <0d18f3f4-055f-4371-8e52-6b0ca7d879dd@gmail.com> Reply-To: Luis Felipe Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28108"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "guile-user@gnu.org" To: Taylan Kammer Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Wed May 05 15:51:33 2021 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1leHw4-0007Cd-Uo for guile-user@m.gmane-mx.org; Wed, 05 May 2021 15:51:32 +0200 Original-Received: from localhost ([::1]:53538 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1leHw3-0006OL-Tm for guile-user@m.gmane-mx.org; Wed, 05 May 2021 09:51:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33452) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1leHsA-0003YQ-4v for guile-user@gnu.org; Wed, 05 May 2021 09:47:30 -0400 Original-Received: from mail4.protonmail.ch ([185.70.40.27]:34583) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1leHs6-0007Gg-Hn for guile-user@gnu.org; Wed, 05 May 2021 09:47:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1620222441; bh=3oOHnN0Pbr2FL5bJr6AR0xXP+SAasRSeWgnUM3ojz74=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=a6EuguAVZ/7FNbKO4lrIuZD40n3ttnbSIzDr176jXV3zrCA14+0SXCwTeGLy0UTV/ 86Mn/8/Txu+mbskmzIoQlQ6+IqKLwUoY+tAJHsJR60rBVCDW/XmrA2nFH5WfJ4BQ7F tWVKLHGk+1xP+GkLNApacxGJ9+koHnp40YSjIsOs= In-Reply-To: <0d18f3f4-055f-4371-8e52-6b0ca7d879dd@gmail.com> Received-SPF: pass client-ip=185.70.40.27; envelope-from=luis.felipe.la@protonmail.com; helo=mail4.protonmail.ch X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:17515 Archived-At: Hi Taylan, On Wednesday, May 5, 2021 6:39 AM, Taylan Kammer = wrote: > On 04.05.2021 10:31, Zelphir Kaltstahl wrote: > > > The first 2 tests are surprisingly passing. This is also the reason, wh= y I used > > test-assert and manually wrote the (equal? ...) in the last test, to se= e, > > whether it makes any difference. Indeed it does. > > The reference implementation of SRFI-64 (which is what Guile ships) > doesn't seem to be written very well. > > I have an alternative implementation here, if you're interested: > > https://github.com/TaylanUB/scheme-srfis > > I'm not sure if the newest Guile is able to run it out of the box > though. You might have to create some .scm symlinks to the .sld files. For what it's worth, I know about your implementation for a long time, but = I've never tried to use it because I don't know where to start. Is it not p= ossible to package these libraries so that users can simply install them as= any other guile library? Say: $ guix install r7rs-srfi-64 I see that Guile can be run with the "--r7rs" option "to better support R7R= S"...