Should we have a class for diffing?
まだ誰も着手していません。
評価
調査の方向性
Start by reading the existing Patch and PatchTarget definitions and the patch types that implement them. Determine whether a shared Diff class fits those types and what tests would demonstrate the stated applyAlways law; the issue is complete only when the API decision and its scope are settled.
索引モデルが issue の本文から書いたものです。
説明
From a discussion with a colleague, the following class emerged:
-- | Law: applyAlways (diff x y) x = y
class Patch p => Diff p where
-- | @diff from to@ returns a patch which turns @from@ into @to@.
diff :: PatchTarget p -> PatchTarget p -> p
It seems useful, even if we cannot guarantee that such a class exists for every patch type.
- 主要言語
- Haskell
- スター
- 17
- フォーク
- 17
- 平均マージ
- 9時間 32分
- マージ済み PR(30日)
- 1
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
reflex-frp/patch のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
reflex-frp/patch#44 · コメント 6 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 18/100
reflex-frp/patch#37 · コメント 9 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
reflex-frp/patch#11 · リアクション 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
reflex-frp/patch#4 · コメント 15 件 ·
reflex-frp/patch の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
objectionary/phino#1600 ·
メンテナーはふだん 1 日以内に返信