O'Reilly logo
  • Yan Ren thinks this is interesting:

import

From

Cover of Scala for the Impatient, Second Edition

Note

scala> import scala.math.BigInt. import scala.math.BigInt.

scala> import scala.util. import scala.util.

scala> probablePrime(100, Random) res6: scala.math.BigInt = 733297732687170275565658642577