AndreVanDelft / scala

The SubScript extension to the Scala programming language
http://www.subscript-lang.org/
12 stars 1 forks source link

Produce lambda's for _ #19

Open AndreVanDelft opened 10 years ago

AndreVanDelft commented 10 years ago

Phrases such as while,_ should be recognized as syntactic sugar for b => while,b. This is much like the mechanism in plain Scala.

Then we will be able to write

exitCommand; confirmationDialog ==> while(!_)