Skip to content

reduced number of Logarithm #11677

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 2 commits into from
Mar 13, 2021
Merged

reduced number of Logarithm #11677

merged 2 commits into from
Mar 13, 2021

Conversation

xhudik
Copy link
Contributor

@xhudik xhudik commented Mar 9, 2021

In the example 3 logarithm(s) are used (object 2x and type). It makes reading hard. To make it simpler, I'd suggest:

  1. Scala 3 can put anything top level, we dont need to have the upper Object Logarithms at all
  2. replace Object Logarithms with MyMath (this pull request)

@OlivierBlanvillain
Copy link
Contributor

I like the change, but I think you forgot to update the text which still references the old Logarithms object.

@xhudik
Copy link
Contributor Author

xhudik commented Mar 12, 2021

@OlivierBlanvillain - indeed thanks for the comment! should be fixed now!

@OlivierBlanvillain OlivierBlanvillain merged commit 34064b2 into scala:master Mar 13, 2021
@OlivierBlanvillain
Copy link
Contributor

OlivierBlanvillain commented Mar 13, 2021

Thanks!

@xhudik xhudik deleted the patch-1 branch March 13, 2021 11:23
shinharad added a commit to shinharad/getting-started-with-scala3 that referenced this pull request Mar 13, 2021
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