User-reported unhelpful error message
- 主要言語
- Haskell
- スター
- 1.3k
- フォーク
- 201
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
**Program:** https://code.world/haskell#PlluIfwylwWGLUS0ky9qN1Q
**Message:**
program.hs:13:26-29: error:
• Occurs check: cannot construct the infinite type: a ~ [a]
• In the expression: n : ns
In the expression: [n : ns]
In the expression:
if length ns == 3 then
[n : ns]
else
[n, (head ns), head (tail ns), ....] : breakItUp ns
• Relevant bindings include
ns :: [a] (bound at program.hs:12:14)
n :: a (bound at program.hs:12:12)
breakItUp :: [a] -> [[a]] (bound at program.hs:7:1)
コントリビューションガイド
調査の方向性
リンクされた CodeWorld プログラムを再現し、その Haskell コンパイラ診断がどのように表示されるかを調査します。レポートにはリポジトリのファイル、エントリポイント、テストが記載されていません。完了とするには、このエラーメッセージについて明確に合意された改善と、リンクされた例がそのメッセージを生成することの検証が必要です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- haskell
- 領域
- developer-experience
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 活発
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 45/100