guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Library names describe APIs


From: Lassi Kortela
Subject: Library names describe APIs
Date: Fri, 26 Jul 2024 19:37:28 +0300
User-agent: Mozilla Thunderbird

Arne wrote:

Additionally we’d have to ask whether these should actually be in
(guile ...). (ice-9 match) is actually from chibi-scheme, just with
three shims added so the upstream code runs unmodified. Calling that
(guile ...) would falsely imply that it is implementation specific.

The deeper I look into it, the less I think that a (guile ...) module
would be a good idea.

IMHO, a library name fundamentally specifies an API.

(import (scheme ...)) and (import (rnrs ...)) are stuff that is API-compatible with the Scheme reports. (import (srfi ...)) is similar.

(import (guile ...)) and (import (chibi ...)) would import stuff where the Guile and Chibi communities, respectively, are responsible for the API. Even when other Scheme implementations provide a library by that name.

I have more to say about this, but since this thread is massive as it is, I'll leave that for later.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]