blob: f60634f698663d34c9b35cdbd44fe29e2f90775e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
import scala.concurrent.{ Await, Future }
import scala.concurrent.duration._
import com.github.someguy.ImportantLib
object Main extends App {
println("fooo")
val futureRes = Await.result(Future.successful(1), 5.seconds)
ImportantLib.currentDirectory()
val hlist = {
import shapeless._
1 :: "string" :: 3 :: HNil
}
List(1, 2, 4, 5, 6) match {
case h :: _ ⇒ println("not empty list")
case Nil ⇒ println("empty list")
}
}
|