Remove SVN binding

By invoking the following powershell commands, svn binding can be removed effectively from the current source directory. [gist]4726680[/gist] It just traverses all the subdirectories of the current directory and remove its

Gist: Scala Set

In Scala, an instance of Set can be declared as follows. val s = (1 to 6).toSet Principle difference between sets and sequences are three: * Sets are unordered val s = (1 to 6)

Scala Notes: Fold

Fold is a general purpose operation on list (e.g., List[A]), which involves iterating (over each element) and applying a binary function-- f: A -> B -> B to reduce

Scala Notes: Functions

Functions in Scala can be defined simply as follows: def fnname (args)={ // function body } Implementing loop can be done in following manner. def whileLoop{ var i = 1 while (i<=3) { println (i)