Difference between revisions of "scala:Programming Tutorial"

From Progzoo
Jump to: navigation, search
Line 13: Line 13:
 
<prog>
 
<prog>
 
var ls = List(1,2,3,4) map (x=>x*x)
 
var ls = List(1,2,3,4) map (x=>x*x)
 +
println(ls)
 
</prog>
 
</prog>
 
</question>
 
</question>

Revision as of 19:51, 16 February 2015

An introduction to computer programming using Scala. Comprising


[Font] [Default] [Show] [Resize] [History] [Profile]