Juan Jose Garcia-Ripoll wrote: > > I have found it quite annoying lately having to think whether I want to use > EXT:RMDIR or DELETE-FILE on a path. Would you find it ok if I merge both? > The only implementation that seems to support this is ABCL. >
For me (and FriCAS) this change is ok, but does not help. In my case directories to be removed are nonempty, so I actually need recursive removal. And to be portable I need to test for directories anyway. One thing to consider is consistency between PROBE-FILE, RENAME-FILE and DELETE-FILE. While legal, it would be embarassing if PROBE-FILE said that file does not exist but DELETE-FILE succesfully removed directory. Similarly, if directories are supposed to be files in DELETE-FILE IMHO they should also be allowed in RENAME-FILE. Personally I like POSIX approach where directoris can be treated as files when it makes sense. It seems that some Lisp implementations consider files and directories as leaving in essentially different words and do not allow mixing operations on files and directories. I think that it is more important to be consitent -- make one choice and consequently use it in all filesystem functions. -- Waldek Hebisch hebi...@math.uni.wroc.pl ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct _______________________________________________ Ecls-list mailing list Ecls-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ecls-list