>>>>> "Mike" == Michael Sperber <sperber@informatik.uni-tuebingen.de> writes:
>>>>> "Martin" == Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de>
>>>>> writes:
Martin> I didn't dare to think that you would like to introduce faked record
Martin> accessors.
Mike> I would! I would!
So we need more developers to come to a decision on this topic. The
alternatives are:
1.) overloading
file-directory?
file-fifo?
file-regular?
file-socket?
file-special?
file-symlink?
file-not-readable?
file-not-writable?
file-not-executable?
file-readable?
file-writable?
file-executable?
file-not-exists?
file-exists?
to accept file-info records as first argument.
2.) introducing new procedures looking like record accessors:
file-info:file-directory?
file-info:file-fifo?
file-info:file-regular?
file-info:file-socket?
file-info:file-special?
file-info:file-symlink?
file-info:file-not-readable?
file-info:file-not-writable?
file-info:file-not-executable?
file-info:file-readable?
file-info:file-writable?
file-info:file-executable?
file-info:file-not-exists?
file-info:file-exists?
3.) As a new alternative, we could introduce new procedures with a
file-info- prefix
file-info-file-directory?
file-info-file-fifo?
file-info-file-regular?
file-info-file-socket?
file-info-file-special?
file-info-file-symlink?
file-info-file-not-readable?
file-info-file-not-writable?
file-info-file-not-executable?
file-info-file-readable?
file-info-file-writable?
file-info-file-executable?
file-info-file-not-exists?
file-info-file-exists?
4.) Do nothing
Cast your vote now!
--
Martin
|