Skip to content

Conversation

@govereau
Copy link
Collaborator

Implementation for in on tuples and lists, and is for the spacial case of None.

Implementation for in on tuples and lists, and is for the spacial case of None.
| .boolOp op l => return (<- booleanOp op (<- exprs l)).expr
| .binOp op l r => return .binOp (<- binOp op) (<- expr l) (<- expr r)
| .unaryOp op e => return (<- unaryOp op) (<- expr e)
| .compare a [.is] [⟨.const .none, pos⟩] =>
Copy link
Collaborator

Choose a reason for hiding this comment

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

I thought we were not going to support is in our language because it's not equivalent to ==

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants