Skip to content
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

SRFI 15 (fluid-let) #71

Open
lassik opened this issue Aug 25, 2021 · 5 comments
Open

SRFI 15 (fluid-let) #71

lassik opened this issue Aug 25, 2021 · 5 comments

Comments

@lassik
Copy link
Contributor

lassik commented Aug 25, 2021

AFAICT Chez Scheme's fluid-let is compatible with SRFI 15. In that case, this would be a compliant implementation of the latter:

(library (srfi :15)
  (export fluid-let)
  (import (only (chezscheme) fluid-let)))

The SRFI also supplied a portable implementation using dynamic-wind.

@arcfide
Copy link
Owner

arcfide commented Aug 26, 2021

Thanks for this. It would be really convenient for me if you'd submit a PR for this and I'd be happy to accept it.

@lassik lassik mentioned this issue Aug 26, 2021
@lassik
Copy link
Contributor Author

lassik commented Aug 26, 2021

Added in the PR #72, but fluid-let is not a standard library name.

@arcfide
Copy link
Owner

arcfide commented Aug 26, 2021 via email

@lassik
Copy link
Contributor Author

lassik commented Aug 26, 2021

SRFI 97: SRFI Libraries lists a bunch of mnemonics for SRFIs. For example, (srfi :1) becomes (srfi : 1 lists). No such mnemonic is listed for withdrawn SRFIs such as SRFI 15.

This means we could use (srfi :15) with no mnemonic, but I don't know what directory layout and filenames to use in chez-srfi to achieve this.

@arcfide
Copy link
Owner

arcfide commented Aug 26, 2021

Makes sense, we can keep the name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants