-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider providing srfi-1 #363
Comments
The non-standard implementation furthermore risk to break seemingly at random on known-to-be-good third party code. |
Don't have the bandwidth to consider this at the moment as it will introduce changes that are not backwards compatible and we would have namespace collisions if we added it as a module as |
If I do a (probably not safe or comprehensive) approach for looking at conflicting function names, limited to those listed as being exported, I get hits for these:
|
Correct: the question is how to deal with code, which depends on the semantics in the Replace? Deprecated? ... For those external modules, we'll only need to check what they export and why.
|
Not optimal is IMHO not a valid argument but not a show stopper. Better than maintaining an environment incompatible with srfi compliant Scheme code. Right now I'm looking into the issue that the inclusion of No matter how sub-optimal: It breaks unrelated code! -- That's bad. So where should I change? The recently added module, which brings it's own version of The issue is still annoying. Could we get rid - with reasonable effort - of uses of generic top level bindings defined by some srfi? I know that this will always be an issue as new srfis might be published. In so far I'd recommend to follow a policy of "have your own prefix/namespace" as Gambit itself does. It helps to keep code working in a backward compatible way without turning into a road block after another sunrise. Sure: it's additional typing. Don't take this a a "prefix everthing"! |
Sorry: blamed the wrong cause here. It's actually gambit, which takes the "liberty" to not follow srfi-1 in edge cases. |
ln_core/lists.scm
contains a few list operations analogous to SRFI-1.The list is small and a bit arbitrary chosen. The implementation is rather bad at handling invalid calls and often O(horror^2).
Instead of fixing that file, I'd recommend to include srfi-1 and phase this one out.
The text was updated successfully, but these errors were encountered: