fork download
  1. object Main extends App {
  2. def inspect[T](l: List[T])(implicit manifest: scala.reflect.Manifest[T]) = manifest.toString()
  3. val list = 1 :: 2 :: 3 :: 4 :: 5 :: Nil
  4.  
  5. println(inspect(list))
  6. }
Success #stdin #stdout 0.36s 323264KB
stdin
Standard input is empty
stdout
Int