[Sbcl-devel] redundant file "structure-class.lisp"?

Hi,
structure-class.lisp in src/pcl is not included in the load-process
in warm.lisp. As a first glance seems to imply, all the functionality
is duplicated in other files (like std-class.lisp).
Is this file included only for documentation purposes?
I wonder why it is still in the pcl-subdirectory. Sometimes, if I grep
for function matches, this just makes it harder to find them in the
right place ...
Cheers,
Martin
--
Martin Atzmueller <martin@...>

Thread view

Hi,
structure-class.lisp in src/pcl is not included in the load-process
in warm.lisp. As a first glance seems to imply, all the functionality
is duplicated in other files (like std-class.lisp).
Is this file included only for documentation purposes?
I wonder why it is still in the pcl-subdirectory. Sometimes, if I grep
for function matches, this just makes it harder to find them in the
right place ...
Cheers,
Martin
--
Martin Atzmueller <martin@...>

On Tue, Jun 12, 2001 at 03:57:28PM +0200, Martin Atzmueller wrote:
> structure-class.lisp in src/pcl is not included in the load-process
> in warm.lisp. As a first glance seems to imply, all the functionality
> is duplicated in other files (like std-class.lisp).
> Is this file included only for documentation purposes?
>
> I wonder why it is still in the pcl-subdirectory. Sometimes, if I grep
^^^^^^^^^^^^
> for function matches, this just makes it harder to find them in the
> right place ...
There's no good reason. I simply hadn't realized that the code was
unused. Thank you for pointing it out.
Now that you've pointed out that it's useless, I'll delete the file.
(I wholeheartedly agree that it's good to delete dead code. Observe
that this week I've already deleted quite a lot of dead code, even
going so far as to rearrange BYTE-BLT stuff so that the compiler
"primitive transform" code would become dead so that I could delete
it.:-)
--
William Harold Newman <william.newman@...>
pending sbcl-devel patches/fixes:
MNA tests/interface.pure.lisp patch (MNA 2001-06-12)
Look at MNA/DTC inline type tests again.
cvs remove src/pcl/structure-class.lisp (MNA 2001-06-12)
PGP key fingerprint 85 CE 1C BA 79 8D 51 8C B9 25 FB EE E0 C3 E5 7C