update README.md

This commit is contained in:
2024-10-17 02:03:28 -04:00
parent 9bd21e01f7
commit 10e1be04d2

View File

@@ -50,8 +50,8 @@ Scope in Lamm consists of a single expression, such as `sqrt + ** a 2 ** b 2`. S
You can create a multi-statement expression using either `()` syntax or the `~` operator, which `()` is simple syntactic sugar for. In these, only the value of the last expression is returned, the rest get ignored. This is the perfect place to put stateful function calls. You can create a multi-statement expression using either `()` syntax or the `~` operator, which `()` is simple syntactic sugar for. In these, only the value of the last expression is returned, the rest get ignored. This is the perfect place to put stateful function calls.
``` ```
( . x 12 (
print "Hello, world!" print + "my favorite number is " x
print "Auf Wiedersehen!" print "Auf Wiedersehen!"
) )
``` ```