{{ message }}

# Fix Diff documentation#237

Merged
merged 3 commits into from Nov 12, 2020
Merged

# Fix Diff documentation#237

merged 3 commits into from Nov 12, 2020

## Conversation

### dsnet commented Oct 15, 2020 • edited

 The description inaccurately describes the operation of Diff, which is y - x, where a '+' prefix denotes elements added from y and a '-' prefix denotes elements removed from x. For example: ``````// Consider this call to Diff and its result. x y cmp.Diff({b:2, c:3}, {a:1, b:2}) => {+a:1, b:2, -c:3} // Consider the same in mathematical notation. y - x {a:1, b:2} - {b:2, c:3} = {+a:1, b:2, -c:3} `````` The text was updated successfully, but these errors were encountered:
``` Fix Diff documentation ```
``` b72042d ```
```The description inaccurately describes the operation of Diff,
which is y - x, where a '+' prefix denotes elements added from y
and a '-' prefix denotes elements removed from x.

For example:
// Consider this call to Diff and its result.
x  y
cmp.Diff({b:2, c:3}, {a:1, b:2}) => {+a:1, b:2, -c:3}

// Consider the same in mathematical notation.
y - x
{a:1, b:2} - {b:2, c:3} = {+a:1, b:2, -c:3}```
requested a review from neild Oct 15, 2020
``` Merge branch 'master' into doc ```
``` c2cbac1 ```
approved these changes
``` Merge branch 'master' into doc ```
``` 864ba1f ```
merged commit `0a3ecd3` into master Nov 12, 2020
3 checks passed
deleted the doc branch Nov 12, 2020
bot mentioned this pull request Mar 6, 2021
bot mentioned this pull request Mar 7, 2021
bot mentioned this pull request Mar 7, 2021
bot mentioned this pull request Mar 7, 2021
bot mentioned this pull request Mar 7, 2021
bot mentioned this pull request Mar 7, 2021
bot mentioned this pull request Mar 8, 2021
bot mentioned this pull request Mar 8, 2021
bot mentioned this pull request Mar 8, 2021
bot mentioned this pull request Mar 8, 2021
bot mentioned this pull request Mar 8, 2021
bot mentioned this pull request Mar 8, 2021
bot mentioned this pull request Mar 11, 2021