Repository navigation
Read a chain of \setminus as one SetMinus call, so A \setminus B \setminus C is no longer A \setminus (B \setminus C) and SetMinus(A, B, C) reads back - #585
Open
enumeratio wants to merge 1 commit into
Conversation
…minus C is no longer A \setminus (B \setminus C) and SetMinus(A, B, C) reads back. Fix cortex-js#584
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.
\setminusand\backslashuse thechainmode ofparseSetOperator, as\subsetdoes, soA \setminus B \setminus CisSetMinus(A, B, C). Fixes #584A\setminus B\setminus CandA\backslash B\backslash CgiveSetMinus(A, B, C);(A\setminus B)\setminus CandA\setminus(B\setminus C)stay nested.\{1,2,3,4\}\setminus\{2\}\setminus\{4\}evaluates to{1, 3}, it was{1, 3, 4}.SetMinus(A, B, C)was already written as the chain; it now reads back.parseSetOperatorno longer lists\setminusamong the modes that nest to the right.Tests:
latex-syntax/sets.test.ts— parse of each spelling, the round trip of the written form, the evaluated value. CHANGELOG entry underUnreleased.No pinned test changed. The rest of the LaTeX suite and the set tests pass unchanged.
Overlap: none with #518 (
Transposeaxes,Derivativeorders) or #549 (shared notation).