Run with Scala CLI (https://scala-cli.virtuslab.org/):
scala-cli run .
And then go to http://localhost:9991
Happy coding, Scala is great.
| val scalacOptions ++= Seq( | |
| "-encoding", | |
| "utf-8", // Specify character encoding used by source files. | |
| "-deprecation", // Emit warning and location for usages of deprecated APIs. | |
| "-explaintypes", // Explain type errors in more detail. | |
| "-feature", // Emit warning and location for usages of features that should be imported explicitly. | |
| "-language:existentials", // Existential types (besides wildcard types) can be written and inferred | |
| "-language:experimental.macros", // Allow macro definition (besides implementation and application) | |
| "-language:higherKinds", // Allow higher-kinded types | |
| "-language:implicitConversions", // Allow definition of implicit functions called views |
Run with Scala CLI (https://scala-cli.virtuslab.org/):
scala-cli run .
And then go to http://localhost:9991
Happy coding, Scala is great.