Hi, On Fri, 02 Jan 2026 17:56:28 +0100 Felix Winkelmann via Chicken-hackers <[email protected]> wrote:
> I have changed delete-file* to handle broken symlinks properly, > so it is consistent with the behaviour of delete-file. > > For file-exists? I would keep the current semantics, since > I think this is what most users would expect. I hope this > is sufficient for your needs. I think it makes sense not to change the semantics of file-exists?. I checked some other Scheme implementations (Guile, Racket, Chez, Chibi) and in all of them file-exists? return #f when applied to dangling symlinks. That's also the behavior of the equivalent procedures in at least Python and Rust. All the best. Mario -- https://parenteses.org/mario
