Re: Observations from the process of implementing some of the SRFI in Chibi Scheme Duy Nguyen 21 Jul 2019 12:40 UTC

On Sun, Jul 21, 2019 at 7:27 PM Marc Feeley <> wrote:
> How about a “current-directory” parameter object with
> (current-directory) => string
> (current-directory string)   ;; sets the current directory
> just like current-output-port, current-exception-handler, etc

Gauche has this, except that it's not a parameter. Its manual also
mentions "this function is in ChezScheme, MzScheme and some other
Scheme implementations"

> This has the advantage that each thread can manage their own current directory using “parameterize” to avoid interfeering with other threads

cwd is a global property anyway if I remember correctly, simply
parameterizing it won't help multi threads.