@d6 ```
val x: Int := 3
val multiply := (n: Int) => n * x // captures 'x' immutably
print(multiply(5)) // output: 15
```
I imagine #Rascal to have Rust-like ownership, but with the ergonomic of Scala to use lambda by encouraging to declare immutable variables