Skip to content

Make the equality executable in the scala shell #62

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 5, 2019
Merged

Make the equality executable in the scala shell #62

merged 1 commit into from
Nov 5, 2019

Conversation

iselind
Copy link
Contributor

@iselind iselind commented Jun 21, 2019

When I run the following I get an error.

scala> 1.to(10) == 1 to 10
<console>:12: error: value to is not a member of Boolean
       1.to(10) == 1 to 10

The expected result should be

scala> 1.to(10) == (1 to 10)
res5: Boolean = true

in my opinion.

When I run the following I get an error.
```
scala> 1.to(10) == 1 to 10
<console>:12: error: value to is not a member of Boolean
       1.to(10) == 1 to 10
```
The expected result should be
```
scala> 1.to(10) == (1 to 10)
res5: Boolean = true
```
in my opinion.
@julienrf julienrf merged commit 904ab9e 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