-
-
Notifications
You must be signed in to change notification settings - Fork 131
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
Upgrade to Scala 2.12 ? #235
Comments
I think we should. The main argument for me is that when people search for documentation, they will be led to the latest version's documentation. Ideally, our track should match that. Weren't the parser combinators extracted to their own library? If so, we can just add the reference to the SBT config file, right? |
The parser combinator dependency has already been broken out - at least in
bracket-push. I don't recall what other exercises use the the lib. But,
this was an issue I had to deal with when we moved to 2.11.
…On Mon, Dec 12, 2016 at 7:52 AM Erik Schierboom ***@***.***> wrote:
I think we should. The main argument for me is that when people search for
documentation, they will be led to the latest version's documentation.
Ideally, our track should match that.
Weren't the parser combinators extracted to their own library? If so, we
can just add the reference to the SBT config file, right?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#235 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABeHG4oX59gOSZLTF3tabwzfBPhiVxVjks5rHV-ggaJpZM4LKU3N>
.
|
What order should we change the exercises to 2.12? I am thinking we should start at the last exercise in the series and move backwards to Hello World. |
I just saw that parser-combinators also has a 2.12 version, so it should be smooth sailing. @ricemery Yes, moving backwards sounds like a good strategy. Is there a way to use variables that are read from a single source in the root directory or so? Or do we have do go through all exercises again for the next major upgrade? |
Unfortunately, I don't think this is possible at the moment. There is a long-standing open issue on the CLI that would add support for this feature. It would be great if someone would implement that, but I don't know any Go unfortunately. The F# and C# tracks could also really benefit for it. |
@ricemery Just noticed that in Scala 2.12
|
I was just thinking about starting to porting exercises over to 2.12. I'll
start with these three.. I'll try to get started tonight if possible.
…On Tue, Dec 20, 2016 at 11:48 PM abo64 ***@***.***> wrote:
@ricemery <https://github.com/ricemery> Just noticed that in Scala 2.12
Either is finally right-biased which should simplify things considerably.
So we might give the respective exercises a higher priority:
- nucleotide-count
- bowling
- forth
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#235 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABeHGwNRGIqQTd-8SLtc86Jng_Yu2mbWks5rKMuigaJpZM4LKU3N>
.
|
TODO
|
@abo64 - I submitted pull requests for Bowling and Forth. I did not see where you wanted to use the new right biased property of Either. So, I didn't do anything with that. Though, I did simplify the unit tests for Bowling. |
@ricemery Thank you for you two PRs, they look good (+2 for The main change will be in |
… - refs exercism#125. Add Acronym.scala - refs exercism#137.
… - refs exercism#125. Add Frequency.scala - refs exercism#137
That would be great! Fantastic work @ricemery |
Thanks @abo64 and @ErikSchierboom . I don't think we can close this one yet. I think there are 4-5 more exercises that need to be updated that were not on the check list. Examples - zebra-puzzle and change. I'll add the remaining exercises to the check list. And, update them soon. -ric |
…to config.json - refs exercism#125.
…config.json - refs exercism#125. Change Suite to Test to remain consistent with other exercises.
…config.json - refs exercism#125. Change Suite to Test to remain consistent with other exercises.
… to config.json - refs exercism#125.
…nfig.json - refs exercism#125.
…s to config.json - refs exercism#125.
Zebra - Update to Scala 2.12.1 - refs #235. Add topics to config.json…
Dominoes - Update to Scala 2.12.1 - refs #235. Add topics to config.j…
Sum of Multiples - Update to Scala 2.12.1 - refs #235.
Bracket Push - Update to Scala 2.12.1 - refs #235. Add topics to conf…
Change - Update to Scala 2.12.1 - refs #235. Add topics to config.jso…
All your base - Update to Scala 2.12.1 - refs #235. Add topics to con…
Build.scala - Update to Scala 2.12.1 - refs #235.
Done!!! |
Shall we upgrade to Scala 2.12, perhaps in Q1 2017 ?
This includes ScalaTest and other libraries like Monocle, of course.
A problem could be
scala-parser-combinators
?Would be great if we find a way to simplify this for the future, ideally by just having to change only a single file?
The text was updated successfully, but these errors were encountered: