added lesson 7

This commit is contained in:
2025-04-15 15:07:26 +02:00
parent 9ad00e6182
commit d8b22157c5
7 changed files with 98 additions and 8 deletions

View File

@@ -0,0 +1,6 @@
val expr = {
val x = {print("x"); 1}
lazy val y = {print("y"); 2}
def z = {print("z"); 3}
z + y + x + z + y + x
}