Quantcast
Channel: alvinalexander.com - data
Viewing all articles
Browse latest Browse all 25

Scala - calling foreach on a Seq to populate sample data

$
0
0

I just saw the following Scala source code in a Play Framework 2 sample application, and it struck me as a nice example of how to call the foreach method on a Seq to populate some sample data:

read more


Viewing all articles
Browse latest Browse all 25

Trending Articles