Document possible CyclesInDeclaration error when using defaults
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 35/100
- issue の種類
- ドキュメント
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
調査の方向性
Read the Foldable instance documentation and the linked CycleInDeclaration error documentation to locate where this case belongs. Reproduce the reported foldl = foldlDefault cycle and confirm the suggested fold f = foldlDefault f form resolves it; done means the documentation explains the problem and its fix with a small example.
索引モデルが issue の本文から書いたものです。
説明
I just bumped into the problem mentioned here https://stackoverflow.com/a/38490637/3237351 and the solution was also indeed to go from foldl = foldlDefault to fold f = foldlDefault f. It feels like this could be better documented in the Foldable instance. Maybe by simply giving a trivial example like the one in SO.
Possibly adding this case to the error documentation at https://github.com/purescript/documentation/blob/master/errors/CycleInDeclaration.md would also be a good idea. I'll submit an issue there too.
- 主要言語
- PureScript
- スター
- 51
- フォーク
- 57
- 平均マージ
- 3日 14分
- マージ済み PR(30日)
- 1
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
purescript/purescript-foldable-traversable のほかの issue
-
type: breaking change
難易度 5/5 1週間以上 初心者へのやさしさ 36/100
purescript/purescript-foldable-traversable#151 · コメント 1 件 · リアクション 3 件 ·
-
Add `count`オープンstatus: accepted type: enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
purescript/purescript-foldable-traversable#140 · コメント 7 件 ·
-
`Data.Traversable` re-exports `sum` from `Data.Foldable` but not `product`対応中かも @triallax が 1959 日前に担当しました。 オープンtype: enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 25/100
purescript/purescript-foldable-traversable#137 · コメント 5 件 ·
-
foldrMオープンtype: enhancement
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
purescript/purescript-foldable-traversable#136 · コメント 3 件 ·
-
purs-0.15 type: breaking change
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
purescript/purescript-foldable-traversable#132 · コメント 4 件 ·
purescript/purescript-foldable-traversable の issue をすべて見る
似ている issue
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
MetrolistGroup/Metrolist#4554 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
kubescape/node-agent#1099 ·
メンテナーはふだん 1 日以内に返信
-
15.0
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
-
[workshop-sim] Improve: Provide a concrete example and activity checks in agentic intro (step 5)オープンfeedback simulation workshop
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
githubnext/gh-aw-workshop#5715 ·
メンテナーはふだん 1 日以内に返信