From bec4eb79a2aa424926c65fa1731e7cb315b36dcb Mon Sep 17 00:00:00 2001 From: danslapman Date: Sat, 15 Oct 2016 23:00:38 +0300 Subject: [PATCH 1/2] Add scala-continuations section --- projects-2.12.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/projects-2.12.md b/projects-2.12.md index 7af68e3..7bc3786 100644 --- a/projects-2.12.md +++ b/projects-2.12.md @@ -10,6 +10,19 @@ Scala modules, add in sbt using `libraryDependencies += ...` "org.scala-lang.modules" %% "scala-parser-combinators" % "1.0.4" "org.scala-lang.modules" %% "scala-swing" % "2.0.0-M2" +Scala continuations plugin, add in sbt using `libraryDependencies += ...` + + "org.scala-lang.plugins" %% "scala-continuations-library" % "1.0.3-RC3" + +also You will need to add + + addCompilerPlugin("org.scala-lang.plugins" % s"scala-continuations-plugin_2.12.0-RC2" % "1.0.3-RC3" + +and + + scalacOptions ++= Seq("-P:continuations:enable") + + Other libraries, add in sbt using `libraryDependencies += ...` "com.github.nscala-time" %% "nscala-time" % "2.14.0" From 4ca735940991b3c53b61db57827c820deca6d952 Mon Sep 17 00:00:00 2001 From: danslapman Date: Sat, 15 Oct 2016 23:02:07 +0300 Subject: [PATCH 2/2] Update projects-2.12.md --- projects-2.12.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects-2.12.md b/projects-2.12.md index 7bc3786..6e816f0 100644 --- a/projects-2.12.md +++ b/projects-2.12.md @@ -16,7 +16,7 @@ Scala continuations plugin, add in sbt using `libraryDependencies += ...` also You will need to add - addCompilerPlugin("org.scala-lang.plugins" % s"scala-continuations-plugin_2.12.0-RC2" % "1.0.3-RC3" + addCompilerPlugin("org.scala-lang.plugins" % s"scala-continuations-plugin_2.12.0-RC2" % "1.0.3-RC3") and