Implement core F# type inference, unification, and generalization

オープン
#32 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
20/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
静か
技術スタック
fsharp
領域
compilers

調査の方向性

親 issue #8 から始めて依存関係 #31 のブロックを解除し、その後 issue #4 と #5、および ADRs 0005、0014、0018 を読みます。受け入れ基準を完了チェックリストとして使用します。コアの推論とチェックでは、宣言された feature 行を網羅し、決定論的な型付き結果と互換性のある診断を生成し、後続ステージに必要なメタデータを保持する必要があります。ソースファイルやテストの名前は指定されていません。

索引モデルが issue の本文から書いたものです。

説明

wayfinder:task

Parent: #8
Blocked by: #31

Outcome

Implement compiler-owned type inference for core F# expressions and declarations.

Acceptance criteria

  • Inference variables, unification, substitutions, annotations, generic instantiation, let-generalization, value restriction, tuple and function types, and recursive bindings are represented explicitly.
  • Expression and pattern checking covers bindings, functions, application, control flow, matches, collections, and generic calls within declared feature rows.
  • Nullness and language-version behavior are option inputs rather than project-specific switches.
  • Positive cases produce deterministic typed results; negative and ambiguous cases match supported Compatibility Oracle diagnostics.
  • The checker uses metadata-only reference symbols and never executes target code.
  • Typed output preserves source ranges, coercions, instantiations, and dependencies required by later lowering and incremental work.

Decision inputs

Issues #4 and #5; ADRs 0005, 0014, and 0018.

This issue inherits the corpus-neutral acceptance policy in #8.

主要言語
F#
スター
0
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

TheAngryByrd/fsharp2 のほかの issue

TheAngryByrd/fsharp2 の issue をすべて見る

似ている issue

Compilers の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。