Fix syntax bugs

This commit is contained in:
2026-07-03 10:37:14 +02:00
parent ec857525b4
commit 53c0768672
5 changed files with 20 additions and 20 deletions
+2 -2
View File
@@ -86,13 +86,13 @@ Macro calls use `!` followed by parentheses, brackets, or braces.
let add = (a, b) => a + b;
let result = add(2, 3); // 5
let square = f64 x => x * x;
f64 fn() square = (x) => x * x;
```
Closures can have explicit return types:
```mist
let transform = i32 x => {
let transform = i32 (x) => {
x * 2
};
```