Resolve all TODOs and stubs in codebase#28
Merged
hyperpolymath merged 1 commit intomainfrom Jan 9, 2026
Merged
Conversation
This commit implements numerous TODO items across the core compiler: lib/types.ml: - Add pretty printing for types, rows, effects, kinds, predicates - Implement type substitution (subst_ty) - Add free type variable collection (free_tyvars) - Add occurs check helper - Implement type-level nat normalization and equality lib/typecheck.ml: - Implement type variable lookup via symbol table - Add AST to internal predicate/nat conversion - Implement dependent arrow type conversion - Add handler effect checking - Implement try/catch type checking - Add row restriction for records - Implement constructor pattern binding - Add type/effect/trait/impl declaration checking lib/unify.ml: - Add predicate compatibility checking - Implement alpha-equivalence for forall types - Add normalized nat comparison - Implement set-based effect unification lib/symbol.ml: - Add qualified path lookups - Implement visibility checking - Add import registration - Add effect operation lookups lib/resolve.ml: - Implement unsafe operation resolution - Add impl block resolution - Implement import resolution lib/borrow.ml: - Add move site tracking in error messages - Implement proper if-then-else branch state handling lib/quantity.ml: - Implement proper branch handling for if expressions justfile: - Implement release workflow with version update and tagging
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This commit implements numerous TODO items across the core compiler:
lib/types.ml:
lib/typecheck.ml:
lib/unify.ml:
lib/symbol.ml:
lib/resolve.ml:
lib/borrow.ml:
lib/quantity.ml:
justfile: