[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] [PATCH] Remove ##sys# prefix from lambda-info name
Re: [Chicken-hackers] [PATCH] Remove ##sys# prefix from lambda-info names of library procedures
Wed, 23 Jul 2014 17:42:48 +0200
Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.3 (berkeley-unix)
John Cowan <address@hidden> writes:
> Felix Winkelmann scripsit:
>> They can't be deprecated, as these procedures are used internally.
> I know that that is so, but is there any reason why it must be so?
> Could not internal use also be converted from ##sys#error to error, etc.?
Well deprecation is intended to give users of said procedures a heads
up and allows them to change their code in advance. Since this is all
internal API, I don't see the merit of such a process.
Maybe it's nitpicking but I call this conversion simple refactoring
which by itself also comes with costs and effort.
>> But user/egg code should still not use it, of course.
> A longer-term effort would be to migrate these names out of the
> "chicken" module and into a "##sys" module, so that they are only
> imported explicitly.
This may be possible once the core has been confined inside a namespace
which is a lenghty goal as another thread on this list has elaborated.