init: scala-cli project with some dependencies

This commit is contained in:
efim
2023-06-25 13:59:51 +00:00
parent 8164f46045
commit 44cc9209b4
6 changed files with 50 additions and 1 deletions

View File

@@ -0,0 +1,31 @@
//> using dep com.lihaoyi::cask:0.9.1
//> using dep com.softwaremill.quicklens::quicklens:1.9.4
//> using dep com.lihaoyi::pprint:0.8.1
//> using dep org.scalameta::munit:1.0.0-M1
// import munit.FunSuite
package app
object Main {
def main(args: Array[String]) = {
final case class Thingy(a: String, b: Int, c: List[Double])
val th = Thingy("hello", 1234, List(1D, 1.523, 1234.1234))
pprint.pprintln(th)
println(th)
}
// object MinimalExample extends cask.MainRoutes {
// @cask.get("/")
// def hello() = {
// "Hello world!"
// }
// @cask.post("/do-thing")
// def doThing(request: cask.Request) = {
// request.text().reverse
// }
// initialize()
// }
}