[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MIT-Scheme-devel] working directory

From: Joe Marshall
Subject: Re: [MIT-Scheme-devel] working directory
Date: Tue, 15 Feb 2011 10:05:17 -0800

On Tue, Feb 15, 2011 at 8:19 AM, Taylor R Campbell <address@hidden> wrote:
> The runtime doesn't guarantee that the OS never sees a relative
> pathname.

It probably should.  If any OS primitive is called with a string
pathname or relative pathname it should raise an argument type
error (domain error).

> If you want, you can set *DEFAULT-PATHNAME-DEFAULTS* so
> that it does.  You can also set *DEFAULT-PATHNAME-DEFAULTS* so that it
> doesn't.

The *intent* was that merging with *DEFAULT-PATHNAME-DEFAULTS*
would always result in an absolute pathname, and that deliberately setting
it otherwise would be `implementation dependent'. (That is the abstraction
that *DEFAULT-PATHNAME-DEFAULTS* was intended to provide, but
not necessarily the intent of including it in Scheme.)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]