Get and set current directory Lassi Kortela (21 Jul 2019 12:26 UTC)
Get and set current directory Lassi Kortela (21 Jul 2019 12:40 UTC)
Re: Observations from the process of implementing some of the SRFI in Chibi Scheme Duy Nguyen (21 Jul 2019 12:41 UTC)
Re: Get and set current directory Lassi Kortela (21 Jul 2019 13:44 UTC)
Re: Get and set current directory Lassi Kortela (21 Jul 2019 13:59 UTC)
Re: Get and set current directory Marc Feeley (21 Jul 2019 14:25 UTC)
Re: Get and set current directory Lassi Kortela (21 Jul 2019 14:56 UTC)
Re: Get and set current directory Shiro Kawai (21 Jul 2019 20:59 UTC)
Re: Get and set current directory John Cowan (21 Jul 2019 22:35 UTC)

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 <xxxxxx@iro.umontreal.ca> 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.
--
Duy