Continuation support in Scala, call/cc, goto, etc


#1

Can someone help me understand what I need to do to get access to continuations as described in this blog post by Rich Dougherty http://blog.richdougherty.com/2009/03/goto-in-scala.html
Do I need to wait for some future Scala release? Or do I just need to add something in my .sbt file?


#2

Hi. You may want to take a look at https://github.com/scala/Scala-continuations


#3

HI Azolotko, are you suggesting that I need to git clone that repo and include it in all my my project in order to have access to continuations?


#4

No – as with nearly all libraries, you should pull it in with, eg, Maven, using the sbt invocation shown here.

Note that that is Scaladex, IMO the most important site in the Scala ecosystem: a searchable index of most public Scala libraries, their documentation, their GitHub repos and how to pull them in via sbt. I strongly recommend bookmarking it – I often use it several times a day…