|
Scala example source code file (bug4285.check)
The Scala bug4285.check source codeType in expressions to have them evaluated. Type :help for more information. scala> scala> val x = Array(1,2,3,4,5,6,7) x: Array[Int] = Array(1, 2, 3, 4, 5, 6, 7) scala> val y = x transform (_ * 2) y: scala.collection.mutable.WrappedArray[Int] = WrappedArray(2, 4, 6, 8, 10, 12, 14) scala> println(y.sum) 56 scala> scala> Other Scala examples (source code examples)Here is a short list of links related to this Scala bug4285.check source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.