This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| scala> :paste | |
| // Entering paste mode (ctrl-D to finish) | |
| import language.implicitConversions | |
| class A; class B; class C | |
| implicit def a2b(a: A) = new B | |
| implicit def b2c(b: B) = new C | |
| // Exiting paste mode, now interpreting. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| project compilerBridge | |
| ++2.13.0-RC2! | |
| set scalaBinaryVersion := "2.13" | |
| set every version := "1.1.7" | |
| set every scalacOptions := Nil | |
| set every isSnapshot := false | |
| publishSigned |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sbt:zinc Root> compilerBridge211/compile | |
| [debug] Checking for meta build source updates | |
| [debug] Other repositories: | |
| [debug] Default repositories: | |
| [debug] Using inline dependencies specified in Scala. | |
| [debug] "not up to date. inChanged = true, force = false | |
| [debug] Updating compilerBridge211... | |
| [debug] Done updating compilerBridge211 | |
| [debug] No changes | |
| [debug] Copy resource mappings: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.util.{ Locale, Properties } | |
| +import java.time.ZonedDateTime | |
| +import java.time.format.DateTimeFormatter.ISO_LOCAL_DATE_TIME | |
| import sbt.BasicCommandStrings.{ Shell, TemplateCommand } | |
| import sbt.Project.LoadAction | |
| @@ -37,6 +39,7 @@ import scala.util.control.NonFatal | |
| /** This class is the entry point for sbt. */ | |
| final class xMain extends xsbti.AppMain { | |
| def run(configuration: xsbti.AppConfiguration): xsbti.MainResult = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| scala> import gigahorse._, support.okhttp.Gigahorse | |
| import gigahorse._ | |
| import support.okhttp.Gigahorse | |
| scala> import scala.concurrent._, duration._ | |
| import scala.concurrent._ | |
| import duration._ | |
| scala> import ExecutionContext.Implicits._ | |
| import ExecutionContext.Implicits._ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Defaults: object Defaults { | |
| scalaHome = | |
| javaBootClassPath = | |
| /Library/Java/JavaVirtualMachines/jdk1.8.0_171.jdk/Contents/Home/jre/lib/resources.jar | |
| /Library/Java/JavaVirtualMachines/jdk1.8.0_171.jdk/Contents/Home/jre/lib/rt.jar | |
| /Library/Java/JavaVirtualMachines/jdk1.8.0_171.jdk/Contents/Home/jre/lib/sunrsasign.jar | |
| /Library/Java/JavaVirtualMachines/jdk1.8.0_171.jdk/Contents/Home/jre/lib/jsse.jar | |
| /Library/Java/JavaVirtualMachines/jdk1.8.0_171.jdk/Contents/Home/jre/lib/jce.jar | |
| /Library/Java/JavaVirtualMachines/jdk1.8.0_171.jdk/Contents/Home/jre/lib/charsets.jar | |
| /Library/Java/JavaVirtualMachines/jdk1.8.0_171.jdk/Contents/Home/jre/lib/jfr.jar |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {"query":{"count":1,"created":"2018-05-06T22:49:55Z","lang":"en-US","results":{"channel":{"item":{"condition":{"code":"26","date":"Sun, 06 May 2018 06:00 PM EDT","temp":"16","text":"Cloudy"}}}}}} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [DEBUG] [02/06/2019 15:27:20.434] [main] [EventStream(akka://default)] logger log1-Logging$DefaultLogger started | |
| [DEBUG] [02/06/2019 15:27:20.437] [main] [EventStream(akka://default)] Default Loggers started | |
| [INFO] [02/06/2019 15:27:20.460] [main] [akka.remote.Remoting] Starting remoting | |
| [INFO] [02/06/2019 15:27:20.664] [main] [akka.remote.Remoting] Remoting started; listening on addresses :[akka.tcp://default@10.128.4.187:2552] | |
| [INFO] [02/06/2019 15:27:20.666] [main] [akka.remote.Remoting] Remoting now listens on addresses: [akka.tcp://default@10.128.4.187:2552] | |
| [INFO] [02/06/2019 15:27:20.693] [main] [akka.cluster.Cluster(akka://default)] Cluster Node [akka.tcp://default@10.128.4.187:2552] - Starting up, Akka version [2.5.20] ... | |
| [INFO] [02/06/2019 15:27:20.831] [main] [akka.cluster.Cluster(akka://default)] Cluster Node [akka.tcp://default@10.128.4.187:2552] - Registered cluster JMX MBean [akka:type=Cluster] | |
| [INFO] [02/06/2019 15:27:20.832] [main] [akka.cluster.Cluster(akka://default)] Cluster Node [akka.tc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| val liteClasspathTask = taskKey[Seq[File]]("The classpath suitable for including in BuildInfo.") | |
| lazy val root = (project in file(".")) | |
| .configs(IntegrationTest) | |
| .settings( | |
| Defaults.itSettings, | |
| IntegrationTest / liteClasspathTask := { | |
| (Vector((Compile / classDirectory).value) ++ | |
| (Compile / externalDependencyClasspath).value.map(_.data) ++ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| parallel | |
| real 1m38.404s | |
| user 0m36.949s | |
| sys 0m5.085s | |
| parallel-parallel | |
| real 0m47.792s |