From: Maxime Devos <maximedevos@telenet.be>
To: "Lassi Kortela" <lassi@lassi.io>,
"Marc Nieper-Wißkirchen" <marc@nieper-wisskirchen.de>
Cc: Taylan Kammer <taylan.kammer@gmail.com>,
"guile-devel@gnu.org" <guile-devel@gnu.org>,
Arne Babenhauserheide <arne_bab@web.de>
Subject: RE: Numbers in library names
Date: Tue, 23 Jul 2024 18:01:09 +0200 [thread overview]
Message-ID: <20240723180101.r4112C0082kuPDg01411Xo@baptiste.telenet-ops.be> (raw)
In-Reply-To: <173e06e8-2ec3-461b-a1f7-43a3e78165aa@lassi.io>
[-- Attachment #1: Type: text/plain, Size: 2291 bytes --]
I haven’t received the e-mail you are responding too (in particular, I don’t know who you are responding to), but …
>> In R7RS, (srfi 1) and (srfi |1|) are different library names.
>
>What is the practical harm?
>
>(If there is some obscure point whereby the semantics don't add up in an
intuitive way, I would genuinely like to hear about it. In practice, I
think library aliases will be a must-have feature eventually. It implies
multiple library names resolving to the same library will be commonplace
irrespective of what is done about numbers specifically.)
As already has been answered:
The practical harm is (srfi |1|) is non-standard, but it looks standard because it contains ‘srfi’, so if someone were to type (srfi |1|) in their Scheme implementation and it gets automatically mapped to (srfi 1), then it appears to work, hence misleading the writer into thinking that (srfi |1|) is standard.
(For the same reason, Guile doing (srfi srfi-1) is problematic. It’s not just there for compatibility, it’s the main way of importing SRFI things.)
If (srfi |1|) were to be standardised via SRFI process or RnRS (maybe implicitly as a ‘module names equality is to be done modulo number/symbol conversions’ thing in a future R8RS), then (srfi |1|) would be fine, but such a thing.
Also, even if X would have no practical harm, that doesn’t imply X should be done.
>> Are the practical implications for Scheme programmers or implementers?
>> It's the whole library name that is of interest. Any part ought not be
>> interesting on its own.
>>
>> Parts of Scheme forms can be interesting even if they do not make sense
>> as stand-alone identifiers.
>
>What is the practical difference?
>
>Sounds like an esoteric point of spec-writing aesthetics.
This has already been answered.
The practical difference, IIUC, is that esoteric point (IIUC, different lexical context stuff). If you misinterpret the esoteric stuff, then your library/program/... might not work properly, which is a practical concern.
(More precisely: lexical context of library name not necessarily the same as context of a name part.)
This is irrelevant to Guile though, Guile doesn’t have this extension.
Regards,
Maxime Devos
[-- Attachment #2: Type: text/html, Size: 5867 bytes --]
next prev parent reply other threads:[~2024-07-23 16:01 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.1941.1721507730.3505.guile-devel@gnu.org>
2024-07-21 9:54 ` guile-devel Digest, Vol 260, Issue 25 Marc Nieper-Wißkirchen
2024-07-22 8:12 ` Are library names data or syntax? Taylan Kammer
2024-07-22 9:14 ` Marc Nieper-Wißkirchen
2024-07-22 17:43 ` Numbers in library names Lassi Kortela
2024-07-22 17:56 ` Marc Nieper-Wißkirchen
2024-07-22 18:12 ` Lassi Kortela
2024-07-22 18:47 ` Maxime Devos
2024-07-22 20:52 ` Artyom Bologov
2024-07-22 21:01 ` Marc Nieper-Wißkirchen
2024-07-22 21:05 ` Artyom Bologov
2024-07-22 21:09 ` Marc Nieper-Wißkirchen
2024-07-23 15:05 ` Lassi Kortela
2024-07-23 15:16 ` Marc Nieper-Wißkirchen
2024-07-23 15:36 ` Lassi Kortela
2024-07-23 16:01 ` Maxime Devos [this message]
2024-07-23 16:12 ` Lassi Kortela
2024-07-23 16:20 ` Maxime Devos
2024-07-22 18:47 ` Are library names data or syntax? Maxime Devos
2024-07-22 21:05 ` Dr. Arne Babenhauserheide
2024-07-22 21:14 ` Marc Nieper-Wißkirchen
2024-07-23 14:42 ` Marc Nieper-Wißkirchen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240723180101.r4112C0082kuPDg01411Xo@baptiste.telenet-ops.be \
--to=maximedevos@telenet.be \
--cc=arne_bab@web.de \
--cc=guile-devel@gnu.org \
--cc=lassi@lassi.io \
--cc=marc@nieper-wisskirchen.de \
--cc=taylan.kammer@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).