recentpopularlog in

ianweatherhogg : jesseeichar   78

Daily scala: Abstract Types vs Parameter
trait C[A] { def get : A def doit(a:A):A } trait C2 { type A def get : A def doit(a:A):A }
jesseeichar  scala  abstract  data  type  generic  4* 
june 2012 by ianweatherhogg
Daily scala: Introduction to Actors
Type of experimentation at the repl which should be promoted
jesseeichar  scala  io  helloworld  4*  processing  file  actor 
june 2012 by ianweatherhogg
Daily scala: Tuples and the -> implicit method
Defined in the Predef object are several implicit methods. All implicit methods defined in the Predef method are applicable to all programs without importing them. One such method is the -> method. This method is applicable to all objects and creates a Tuple2.
jesseeichar  scala  tuple 
june 2012 by ianweatherhogg
Daily scala: Refactoring if to match
if/switch statements replaced with pattern matching (via refactoring)
jesseeichar  pattern  rule  match 
june 2012 by ianweatherhogg

Copy this bookmark:





to read