Kernel: Scala 2.11
Scala 2.11 in SMC
In [4]:
hi
In [5]:
List(2, 4, 6, 8)
List(3, 6)
defined function filter
defined function modN
nums: List[Int] = List(1, 2, 3, 4, 5, 6, 7, 8)
In [6]:
List(3, 3, 3, 3)
List(three, three, three)
defined function dup
In [ ]: