For Sbt, how to change implementation by changing dependencies?


+1 vote
asked Mar 13, 2016 by Picture_mosh (1,020 points)
Let me have functions func1(), func2() widely used in my program.

4 Answers

0 votes
answered May 31, 2016 by Pnf3948weiss (450 points)
 
Best answer
I have done something like this and it works like a charm. I found the discussion on http://grokbase.com/t/gg/scala-language/13a3g5qybc/implementation-change-for-lteq-in-2-10-2-changed-behavior-of-min-max-such-that-results-unstable really helpful
commented May 31, 2016 by answers (260 points)
However, it is hard to argue that the current behavior of List
commented Jun 1, 2016 by slightly1428 (220 points)
There is no corresponding functionality in Akka
commented Jun 1, 2016 by overholt (240 points)
To get an ActorRef of an remote actor use the method selectActorRef
commented Jun 1, 2016 by gvzmagik (520 points)
Remote actors also need to be fetched as ActorRefs
commented Jun 3, 2016 by Gb9013 (270 points)
First, we show how to migrate common patterns for instantiatingScala Actors
0 votes
answered May 31, 2016 by nf_570_as (180 points)

We will have to change each imported actorfrom scala to Akka.
Now we need to change all actors to the Act With Stash class from the AMK.
This rule will change a return type to the scala.
0 votes
answered May 31, 2016 by lareau (160 points)
You should look at this, Changes sbt Documentation
Everything will work fine I guess
commented Jun 3, 2016 by anderEdit (500 points)
Note that Akka actors are always started on instantiation
0 votes
answered May 31, 2016 by jbe_4163 (150 points)
When I have this problem it is because the client. Check it out at Technology Change: .NET to Scala - Sean Glover this will be of help to some people
commented Jun 1, 2016 by lheureux (170 points)
Unfortunately, some of the methods that Scala Actors provide can not be migrated

What is Geekub?

Q&A site for professional and enthusiast programmers, software developers and other technical users. With your help, we hope to work together to build a library of detailed answers to just about any question that is related to programming!







...