In my strongly-typed FP workshop, I show examples of the collection API in Scala by generating random Person instance. I use List.fill(100000) { Person(randomString, randomString, randomInt) }, where randomString and randomInt generate random Strings and Ints. Unfortunately, pure functional languages … Read more
↧