From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Maxime Devos Newsgroups: gmane.lisp.guile.user Subject: Re: Weird cache issue Date: Tue, 15 Mar 2022 20:10:53 +0100 Message-ID: <0388e2345cc16f976bb2e3f9c54bf97cc8455a52.camel@telenet.be> References: <857fc700-4ac5-fa7b-1306-cccda26f0d58@posteo.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-5NKASKv9uv8do6dcJ/wt" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34743"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Evolution 3.38.3-1 To: Zelphir Kaltstahl , Guile User Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Tue Mar 15 20:11:11 2022 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 1nUCZb-0008sx-1U for guile-user@m.gmane-mx.org; Tue, 15 Mar 2022 20:11:11 +0100 Original-Received: from localhost ([::1]:53166 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nUCZZ-0001l4-LM for guile-user@m.gmane-mx.org; Tue, 15 Mar 2022 15:11:09 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:33168) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nUCZM-0001ku-4v for guile-user@gnu.org; Tue, 15 Mar 2022 15:10:56 -0400 Original-Received: from [2a02:1800:110:4::f00:18] (port=47298 helo=michel.telenet-ops.be) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nUCZK-0001dP-MW for guile-user@gnu.org; Tue, 15 Mar 2022 15:10:55 -0400 Original-Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by michel.telenet-ops.be with bizsmtp id 6jAt270044UW6Th06jAth0; Tue, 15 Mar 2022 20:10:53 +0100 In-Reply-To: <857fc700-4ac5-fa7b-1306-cccda26f0d58@posteo.de> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1647371453; bh=hIGnKWnI9cwme+RHXRZSFTuJeL/XJP+vB0ErpCqdaIU=; h=Subject:From:To:Date:In-Reply-To:References; b=g89EE9U4b1c+yluiZJSyDAwaNEHsB/uH9Vpy6CzmsEUzhpAPW3VOOeYS54zOD+5QW xPudaRrJfsNDWthRARd/UGzhw9AZEEkI3Wsj1JWIwgpBnZaujIKtMikW6QRidihzbr /EK91CfijFP5nlqOnbKxUMBwW5FRQm0qQwzBO+psgvfoqSP/an9Av0SH8hP+ysUW4g wyPCvRiNzF4O3N455AfUjCSa1I8V99aWPKbSnsxVRjrGOefmfbt6lD/xFvtoaJ4GZO J7kPuLp08uJFOv73wK9lI3vfCgN7x0kvaP63IiQOqOKtNw5u4w86QVLbXvdyXzEPtV 3aXOiipvnGB7g== X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a02:1800:110:4::f00:18 (failed) Received-SPF: pass client-ip=2a02:1800:110:4::f00:18; envelope-from=maximedevos@telenet.be; helo=michel.telenet-ops.be X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 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, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.29 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:18213 Archived-At: --=-5NKASKv9uv8do6dcJ/wt Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Zelphir Kaltstahl schreef op di 15-03-2022 om 17:54 [+0000]: > ~~~~013.scm~~~~ > (library (fileio) > =C2=A0=C2=A0 (export ) > =C2=A0=C2=A0 (import > =C2=A0=C2=A0=C2=A0 (except (rnrs base) let-values) > =C2=A0=C2=A0=C2=A0 (only (guile) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 lambda* =CE=BB > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ;; printing > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 display > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 simple-format) > =C2=A0=C2=A0=C2=A0 (fileio))) Shouldn't the code below be put inside the library form? While these imports might be available below as well due to how 'library' is 'define-module' followed by some extra code (see ice-9/r6rs-libraries.scm), it is not something you can rely upon: ;; It would be nice to push the module that was current before= the ;; definition, and pop it after the library definition, but I ;; actually can't see a way to do that. Helper procedures perh= aps, ;; around a fluid that is rebound in save-module-excursion? Pa= tches ;; welcome! Greetings, Maxime. --=-5NKASKv9uv8do6dcJ/wt Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYjDkvRccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7rfVAQD4wxdGhf2W8p8QwH/Nvyn/g4ws K5dG59S7wH9cDuedpwD9G4Nhs0i8OvXJ+pNWKnZLuLf9N6QYPH6O3vZC9eMfGgQ= =qaXR -----END PGP SIGNATURE----- --=-5NKASKv9uv8do6dcJ/wt--