On Fri, Mar 15, 2013 at 09:30:43PM +0100, Felix wrote: > From: Peter Bex <[email protected]> > > 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 _______________________________________________ Chicken-hackers mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/chicken-hackers
