1 Comment


  1. “Unlike lists and arrays, however, there is no way to iterate through elements in a tuple.”

    This is not right. I can iterate over tuple using below lines :

    var tuple = (1, “Himansu”, 2.0, ‘a’, true)
    tuple.productIterator.foreach(i => println(i))

    Reply

Leave a Reply