#Scala for comprehension translation helper
##Example 1
for {
i <- 1 until n
j <- 1 until i
if isPrime(i + j)
} yield (i, j)#Scala for comprehension translation helper
##Example 1
for {
i <- 1 until n
j <- 1 until i
if isPrime(i + j)
} yield (i, j)