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

@@ -1,5 +1,12 @@
//> using dep com.lihaoyi::pprint:0.8.1
object Hello {
def main(args: Array[String]): Unit = {
println(s"hello, i guess '${OtherObject.yoyo}'!!!")
case class Thingy(a: Long, b: List[String])
val th = Thingy(1234L, List("hello", "worlds"))
pprint.pprintln(s"hello, i guess '${OtherObject.yoyo}'!!!")
pprint.pprintln(th)
println(th)
}
}