Edit this page Backlinks This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ======= Scala @ PP ======= ===== 1. Installation ===== ===== 2. Syntax ===== 2.1. Writing functions 2.2. Function evaluation (order of parameters in function call matters !) - using the ''=>'' to delay evaluation 2.3. Conditionals - '' def f(x : Int) = if (x >= 0) x else -x'' - boolean expressions (''true'', ''false'', ''!b'', ''&&'', ''||'') - the "by value" definition using ''val'' - example using def and val against a loop