-
Notifications
You must be signed in to change notification settings - Fork 0
Type functions: state a relationship between type variables other than subtyping #51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
5e6d673
Type functions: state a relationship between type variables other tha…
dpmills 940d86b
Freshening asks a different question than `type_level`, so it needs i…
dpmills 04e9937
`SharedHole`: let lowering state that two type positions are the same
dpmills ea23441
Retire `CommonBase`: an operand requirement belongs in the result rule
dpmills 57ffd42
The resolution memo caches one answer per variable, not one per reach…
dpmills 9defc2b
Delete the resolution memo and the graph-generation counter it needed
dpmills 81a6c32
An unreduced application contributes nothing to a specialization key
dpmills d5903ce
Docs: reconcile with what the machinery actually is now
dpmills 8a04d28
Law 3 is totality, not coarsening — and drop the retired design from …
dpmills c99c4f4
A rule declares whether it can answer through a cycle
dpmills a2135fe
The cut at a cycle is an unrolling, not an iteration
dpmills a891bf3
Pin the typing of a register that reads itself
dpmills 69656d5
State the group-by key relation about the group-by, not about its binder
dpmills b9daafe
Docs: cut §4.7's duplication of `reduce.rs`, and record `SharedHole`
dpmills 96f06fb
Arithmetic checks its operands' base, not just that they agree
dpmills File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think all of these additions would benefit substantially from a rewrite. They bounce around between ideas, don't define terms, and is super verbose and hard to skim. It reads like an essay written in obscure jargon (which I'm not sure exists anywhere beyond Claude's context), not documentation.
Can you rewrite it to have a nice, predictable structure, with matter-of-fact, well-organized content? State the motivation, sketch the solution, then go into details only where helpful and necessary, deferring to the code otherwise.