blob: f60634f698663d34c9b35cdbd44fe29e2f90775e (
plain) (
tree)
|
|
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")
}
}
|