Re: Where did read-symlink go? Göran Weinholt 31 Jul 2019 20:20 UTC

John Cowan <> writes:

> On Wed, Jul 31, 2019 at 2:40 PM Göran Weinholt <> wrote:
> > The read-symlink procedure seems to have disappeared in commit eadc8f82,
> > "editorial and minor functional changes", right after draft 3. Was that
> > intentional? There is no way to have the same functionality if that
> > procedure is not provided.
> It's not clear to me that it's actually useful in typical programs,
> unless you want to write your own ls -l implementation. Googling
> around shows no one explaining the purpose of it.

You'd need read-symlink to create a tar archiver. Providing it is also
more in line with Scheme tradition, because with read-symlink you can
implement real-path, but with real-path you cannot implement

The Linux kernel provides readlink() and not realpath(). While it's
probably good to provide real-path as well, I would prefer removing that
one if only one could be kept.


Göran Weinholt