fork download
  1. object Main extends App {
  2. def p[A](a: A) = println(a)
  3.  
  4. p(Seq(1,2,3))
  5. p(Some("Hello world"))
  6. }
Success #stdin #stdout 0.35s 382080KB
stdin
Standard input is empty
stdout
List(1, 2, 3)
Some(Hello world)