Skip to content

Conversation

amitsingh-10
Copy link
Contributor

Due to the order of evaluation,
1.to(10) == 1 gets evaluated to False
and the expression becomes
False to 10

Instead evaluation should be
1.to(10) == (1 to 10)

Due to the order of evaluation, 
1.to(10) == 1 gets evaluated to False
and the expression becomes
False to 10
@julienrf julienrf merged commit 0712ed3 into scala-exercises:master Nov 5, 2019
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.

2 participants