AndreVanDelft / scala

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

var&val declarations #79

Open AndreVanDelft opened 9 years ago

AndreVanDelft commented 9 years ago

As I wrote in the PDF submitted to Onward!:

In the presented code the declaration of variable xResult implies a sequential composition, which is in general undesirable. (...) Probably an alternative for this sequential composition would be appropriate, e.g., a let ... in ... construct as known from functional programming languages such as ML