example working with scala 4 ( Commonly Used Types )

commandline session $ 4.2.29 1 2—> scala Welcome to Scala version 2.9.2 (OpenJDK 64-Bit Server VM, Java 1.6.0_24). Type in expressions to have them evaluated. Type :help for more information. scala> 1.toString res0: java.lang.String = 1 scala> 33.to(40).toString res1: String = Range(33, 34, 35, 36, 37, 38, 39, 40) scala> Jeffrin.intersect(Jose) :8: error: not found: …

How does && and || operators combination Work ?

commandline session $ 4.2.29 10 510—> [ -f wordmatc.c ] || echo hello hello $ 4.2.29 11 511—> [ -f wordmatc.c ] || cat baty && echo hello cat: baty: No such file or directory $ 4.2.29 12 512—> [ -f wordmatc.c ] && echo hello || echo kitten kitten $ 4.2.29 13 513—> [ …