arcfide / chez-srfi

SRFIs for Chez Scheme
Other
94 stars 36 forks source link

SRFI 15 (fluid-let) #71

Open lassik opened 3 years ago

lassik commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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

arcfide commented 3 years ago

Thanks, what do you mean by "not a standard library name"? Sorry, I'm a little distant from the issues at the moment, so I might need some hand holding.

-- Aaron W. Hsu | @.*** | http://www.sacrideo.us

On Thu, Aug 26, 2021, at 3:12 AM, Lassi Kortela wrote:

Added in the PR #72 https://github.com/arcfide/chez-srfi/pull/72, but fluid-let is not a standard library name.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/arcfide/chez-srfi/issues/71#issuecomment-906154636, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJNSHRUSK6CKSGJY7OCJ4LT6XSPJANCNFSM5CZO4IEA. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email.

lassik commented 3 years ago

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 commented 3 years ago

Makes sense, we can keep the name.