On Tue, Apr 4, 2023 at 12:05 PM fliter <
imc...@gmail.com> wrote:
>
> There are many private methods with identical code in several different packages, which is clearly not elegant; But adding a public method that can be accessed by other packages (a proposal needs to be made) does not seem very necessary. Is there a better solution?
Since you mention a proposal, I assume that you are talking about the
standard library. It's possible to coalesce identical functions into
an internal package. An internal package is not publicly visible and
as such does not require a proposal.
Ian