Inspired by Marcus Kazmierczak's 10 Scala One Liners to Impress Your Friends.
Range[10] * 2Fold[Plus, Range[1000]]
Total[Range[1000]]wordList = {"coffeescript", "eko", "play framework", "and stuff", "falsy"}
tweet = "This is an example tweet talking about javascript and stuff."
StringContainsQ[tweet, wordList]fileText = Import["data.txt"]
fileLines = Import["data.txt", "List", "Numeric" -> False]Do[Print["Happy Birthday " <> If[i == 3, "dear NAME", "to You"]], {i, 4}]{passed, failed} = Lookup[GroupBy[{49, 58, 76, 82, 88, 90}, # > 60 &], {True, False}, {}]results = Import["http://search.twitter.com/search.atom?&q=scala", "XML"]Min[{14, 35, -7, 46, 98}]
Max[{14, 35, -7, 46, 98}]result = ParallelMap[processItem, dataList]Reap[Range[2, #] //. p : {x_, ___} :> Complement[p, Range[0, #, Sow[x]]]][[2, 1]] &