chicken-hackers
[Top][All Lists]
Advanced

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

Re: [Chicken-hackers] [PATCH 3/4] Remove ##sys#expand-home-path.


From: Peter Bex
Subject: Re: [Chicken-hackers] [PATCH 3/4] Remove ##sys#expand-home-path.
Date: Fri, 15 Mar 2013 21:35:58 +0100
User-agent: Mutt/1.4.2.3i

On Fri, Mar 15, 2013 at 09:30:43PM +0100, Felix wrote:
> From: Peter Bex <address@hidden>
> > I agree we can't immediately do it, but we should strive towards a clean,
> > safe API in the long run.  Just keeping it around is not an option either.
> > Adding more parameters or options is ugly, IMHO.
> 
> But let's not forget convenience...

I don't think (with-input-from-file (expand-path "~/foo") read) is less
convenient than (with-input-from-file "~/foo" read expand-path: #t)

Not to mention that the latter is an awkward extension to the standard.

Finally, a flag would also need to go everywhere a path is accessed
(including file-open, directory, directory?, call-with-input-file, etc...)
unless you make it a parameter (which would be slower, if I'm not
mistaken).

Cheers,
Peter
-- 
http://www.more-magic.net



reply via email to

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