[PPC0030] - Clarifications on `use overload` interaction
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- ドキュメント
- 明瞭さ
- 説明が足りない
- 活発さ
- 静か
- 技術スタック
- perl
調査の方向性
Start by reading the PPC document and the linked perl5 pull request, then review how use overload currently treats equ and ===. Done means the interaction is resolved as a clear specification decision and the PPC document explains whether these operators are independently overloadable or defined through defined and eq.
索引モデルが issue の本文から書いたものです。
説明
The PPC document doesn't actually talk about use overload at all.
In the course of implementing it (https://github.com/Perl/perl5/pull/24304), currently I have fully created an overload category for the equ and === operators, allowing a class to use overload equ => ... to specify its overloading behaviour here.
But I wonder if this should be considered correct, or not. We say that the equ operator's behaviour can be explained in terms of some defined checks and the eq operator. While we allow the eq operator to be overloaded, we don't allow defined to be.
I wonder if therefore, we should say that equ (and related) are not independently overloadable, but instead are just implemented in exactly these terms - a defined check first that cannot be overridden, followed by a possibly-overloaded eq check.
- 主要言語
- Perl
- スター
- 81
- フォーク
- 28
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Perl/PPCs のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 52/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
似ている issue
-
area:cpan-port area:performance bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
fglock/PerlOnJava#2230 ·
メンテナーはふだん 1 日以内に返信
-
Make logo .svgオープンdocumentation
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
larchanka/ppc-code-ai-agent#38 ·
メンテナーはふだん 1 日以内に返信
-
[doc] perlsub wrongly says that `"sub { ... }" creates a new subroutine each time it is executed'オープンdocumentation Needs Triage
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
メンテナーはふだん 1 日以内に返信
-
docs(api): /api/v3/external_sources spec is missing lc and section_title対応中かも @subhwastaken が今日担当しました。 オープン
難易度 1/5 1〜3時間 初心者へのやさしさ 82/100
openfoodfacts/openfoodfacts-server#15626 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 67/100
LMS-Community/slimserver#1742 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信