Add implementation of equals/hashCode laws
まだ誰も着手していません。
評価
調査の方向性
Start by reviewing the requested AnyRefLaws example and the referenced alasc implementation. Identify how discipline represents law implementations, then define the behavior around makeClone and the two distinct instances. Done means an AnyRefLaws implementation checks the default equals/hashCode laws and has coverage for the stated cases.
索引モデルが issue の本文から書いたものです。
説明
As a working example, discipline could provide an "AnyRefLaws" implementation that checks the behavior of the default equals and hashCode methods.
In particular, the implementation could work from:
- a
makeClonemethod that creates a deep copy of an instance, - two particular instances that are guaranteed to compare as
!=with differing hashCode.
See for example: https://github.com/denisrosset/alasc/blob/master/scalacheck-binding/src/main/scala/net.alasc/laws/AnyRefLaws.scala
I'd gladly provide a PR if there is interest.
- 主要言語
- Scala
- スター
- 338
- フォーク
- 60
- 平均マージ
- 5時間 22分
- マージ済み PR(30日)
- 1
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
typelevel/discipline のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
typelevel/discipline#347 · リアクション 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
typelevel/discipline#346 · コメント 1 件 · リアクション 2 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
typelevel/discipline#169 · コメント 2 件 ·
-
Add documentation to discipline再び着手できるかも @Shivampal157 が 329 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 30/100
typelevel/discipline#21 · コメント 3 件 · リアクション 5 件 ·
typelevel/discipline の issue をすべて見る
似ている issue
-
Spark benchmarks crash with `[INVALID_DRIVER_MEMORY]` on JVMs whose default heap is below Spark's ~450 MB minimum対応中かも @sendaoYan が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
-
SEO
難易度 1/5 1〜3時間 初心者へのやさしさ 87/100
lichess-org/lila#22409 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
canton-network/splice#8342 ·
メンテナーはふだん 1 日以内に返信
-
bug genc
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
`estimateTip` caps the estimated tip at 2147483647対応中かも @RaphaelFakhri が 1 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
software-mansion/starknet-jvm#644 ·
メンテナーはふだん 2 日以内に返信