Skip to content

New article on eager differences#1818

Open
josevalim wants to merge 2 commits intomainfrom
jv-eager-diff
Open

New article on eager differences#1818
josevalim wants to merge 2 commits intomainfrom
jv-eager-diff

Conversation

@josevalim
Copy link
Member

No description provided.

you know `clause3` is redundant if:

```
clause3 ⊆ (clause1 ∪ clause2)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you probably want to define the subset/unions characters here been a while since most of us have worked with them (long while for me lol)

have the same type, except for one. For example:

```
def example(%MyStruct{x: x}) when is_binary(x)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know we're focusing on backwards compatible changes but if MyStruct x is a binary or integer I think I might have messed up my structure definition lol.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe an is_nil would be more common example

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a field in the structure, no? They can be binary or integer, that's fine! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants