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.devel Subject: RE: Name of the standard library Date: Sat, 20 Jul 2024 18:11:52 +0200 Message-ID: <20240720181139.psBf2C00D09gYMG06sBfG5@michel.telenet-ops.be> References: <20240629002027.13853-1-richard@freakingpenguin.com> <87h6co21qv.fsf@laura> <87r0bsxpoe.fsf@web.de> <4d9d9c2e-0830-4267-b8e5-1a50cb815508@msavoritias.me> <87a5ifyd0g.fsf@web.de> <20240719104617.pLmG2C00D4SnA1G01LmG1n@andre.telenet-ops.be> <87wmlgkyix.fsf@web.de> <15398dda-cb3e-4195-b2f8-263a59a73c68@lassi.io> <8734o4kte6.fsf@web.de> <4cc59aa4-755f-4dd3-a3b6-5d5d5edda053@lassi.io> <87plr8jcba.fsf@web.de> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_2350671A-D702-4F22-A011-4B24B25E8332_" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32905"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Attila Lendvai , Greg Troxel , MSavoritias , "guile-devel@gnu.org" To: "Dr. Arne Babenhauserheide" , Lassi Kortela Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Sat Jul 20 18:12:23 2024 Return-path: Envelope-to: guile-devel@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 1sVCh5-0008OB-Ay for guile-devel@m.gmane-mx.org; Sat, 20 Jul 2024 18:12:23 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sVCgV-00061Y-AA; Sat, 20 Jul 2024 12:11:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sVCgU-00060J-0j for guile-devel@gnu.org; Sat, 20 Jul 2024 12:11:46 -0400 Original-Received: from michel.telenet-ops.be ([2a02:1800:110:4::f00:18]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sVCgS-0000M0-0r for guile-devel@gnu.org; Sat, 20 Jul 2024 12:11:45 -0400 Original-Received: from [IPv6:2a02:1811:8c0e:ef00:4549:d633:19b4:457e] ([IPv6:2a02:1811:8c0e:ef00:4549:d633:19b4:457e]) by michel.telenet-ops.be with bizsmtp id psBf2C00D09gYMG06sBfG5; Sat, 20 Jul 2024 18:11:39 +0200 Importance: normal X-Priority: 3 In-Reply-To: <87plr8jcba.fsf@web.de> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=telenet.be; s=r24; t=1721491899; bh=1M1aE34qGwnJ7FmbjaMmTV/qDD9RQJjfG8riLaArITU=; h=Message-ID:MIME-Version:To:Cc:From:Subject:Date:In-Reply-To: References:Content-Type:From; b=FkHv47HbwqCQ92GzNJywr8b3b1LdvJHVNnqbJPe9GqXnEt641sJeHQAABl2y+UVHV g5gFZFFaOy251re9PEjoRDLmStht8rc1b38rL/EF5EuMxdPSWj7JKdVhg/ZlNT50ou zg3nGwYYwpxWAAYHO7+cvnZu/GJLjpwKGijGBc+ErU8VQVVjlb7MrbUcpJS9NHiLNY ykt4Ie2VOf0Y2ZRSHyo9MjRLkH4zHDz+qEtW7sUxlk5IA2zu+gZDF92e/Euw4O6YVZ V2MTPaK/dyYeWsyLR39yFhH/YCEA2PykKkLf6s5PXJmId3D/7ZTohl4C1mRKjq/i7M DoM3m/EZLJOLw== 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: -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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.devel:22603 Archived-At: --_2350671A-D702-4F22-A011-4B24B25E8332_ Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" >Is anything except for (srfi ...) and (rnrs ...) expected to be portable? I thought till now that if I want my code portable, an easy way would be to restrict my imports to these. >What else is there that actually is portable, despite not being in these? Maybe (scheme ...) is portable as well (idk)? (That=E2=80=99s for a RnRS, d= on=E2=80=99t recall the exact version). That said, I think that in Scheme, standard is quite different from portabl= e =E2=80=93 if something standard is implemented, it will be (mostly) accor= ding to the standard, so in this way it is =E2=80=98portable=E2=80=99, but = that=E2=80=99s a big =E2=80=98if=E2=80=99. For large Schemes (and small Sch= emes for which the RnRS or SRFI stuff is implemented in a separate library = that can easily be installed(*)), I don=E2=80=99t expect much trouble, but = for very minimalistic (or outdated Schemes, but that holds for other langua= ges as well) you might possibly be in trouble. (As mentioned earlier, I also want to mention that (srfi srfi-N) is not por= table, it=E2=80=99s a Guile-ism.) (*) and for small Schemes where the RnRS / SRFI stuff is implemented as a R= nRS library importing only standard RnRS modules. Best regards, Maxime Devos. --_2350671A-D702-4F22-A011-4B24B25E8332_ Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="utf-8"

>I= s anything except for (srfi ...) and (rnrs ...) expected to be

portable? I thought till now that if I want my code portable, = an easy

way would be to restrict my imports to thes= e.

 

>Wh= at else is there that actually is portable, despite not being in

these?

 

Maybe (scheme ...) is portable as well (idk)? (That=E2=80=99s = for a RnRS, don=E2=80=99t recall the exact version).

 

That said, I think t= hat in Scheme, standard is quite different from portable =E2=80=93 if somet= hing standard is implemented, it will be (mostly) according to the standard= , so in this way it is =E2=80=98portable=E2=80=99, but that=E2=80=99s a big= =E2=80=98if=E2=80=99. For large Schemes (and small Schemes for which the R= nRS or SRFI stuff is implemented in a separate library that can easily be i= nstalled(*)), I don=E2=80=99t expect much trouble, but for very minimalisti= c (or outdated Schemes, but that holds for other languages as well) you mig= ht possibly be in trouble.

 

(As mentioned earlier, I also want to mention that (srfi = srfi-N) is not portable, it=E2=80=99s a Guile-ism.)

 

(*) and for small Schemes where = the RnRS / SRFI stuff is implemented as a RnRS library importing only stand= ard RnRS modules.

 

Best regards,

Maxime Devos.

= --_2350671A-D702-4F22-A011-4B24B25E8332_--