Repository navigation
Fixed example given in the Precedence section of documentation - #6237
Merged
Merged
Conversation
Member
|
Thanks for the fix! I added further clarification... |
andreasabel
approved these changes
Oct 26, 2022
plt-amy
added a commit
to felixwellen/agda
that referenced
this pull request
Oct 27, 2022
When --flat-split and --cubical(-compatible) are used (which is not --safe), --flat-split behaves as an injective flag. Furthermore, in that case, the transpX clauses will not be generated for the function. (We skip this by failing the LeftInv computation, so that a NoEquivWhenSplitting warning is printed indicating the defn. won't compute)
plt-amy
added a commit
to felixwellen/agda
that referenced
this pull request
Oct 27, 2022
When --flat-split and --cubical(-compatible) are used (which is not --safe), --flat-split behaves as an injective flag. Furthermore, in that case, the transpX clauses will not be generated for the function. (We skip this by failing the LeftInv computation, so that a NoEquivWhenSplitting warning is printed indicating the defn. won't compute)
plt-amy
added a commit
that referenced
this pull request
Oct 28, 2022
* #6238: Add test case * #6238: Suggested fix * re #6237: forbid by default flat-split & without-K When --flat-split and --cubical(-compatible) are used (which is not --safe), --flat-split behaves as an injective flag. Furthermore, in that case, the transpX clauses will not be generated for the function. (We skip this by failing the LeftInv computation, so that a NoEquivWhenSplitting warning is printed indicating the defn. won't compute) * mention in changelog that --cubical implies --no-flat-split * fixup: update debug interaction test * fixup: remove stray Nix file * fixup: update changelog and remove 1 more stray file * fixup: add test for --without-K as well Co-authored-by: Amélia Liao <[email protected]>
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.
Fixed errors in the example provided at Language Reference → Mixfix Operators → Precedence. The edits are minimal -- in that if I made the corrections consistent with the consideration of
true and false ⇒ falsemore edits would be required -- while providing distinct outputs between the 2 different interpretations, which both seems desirable to distinguish the 2 function precedence cases and is true for the proceeding code blocks.