Tweaked tabs-vs-spaces

This commit is contained in:
2025-01-12 11:16:46 +11:00
parent 101833934b
commit 4282268f3d
10 changed files with 82 additions and 77 deletions

View File

@@ -46,8 +46,8 @@ var entry: type = astype [string: [string]];
//define a phonebook which follows the above signature
var phonebook: entry = [
"Lucy": ["1234", "Cabbage Ln"],
"Bob": ["5678", "Candy Rd"]
"Lucy": ["1234", "Cabbage Ln"],
"Bob": ["5678", "Candy Rd"]
];
```
@@ -82,12 +82,12 @@ Types are first-class citizens. What this means is that they can be used just li
```
fn decide(question) {
if (question) {
return int;
}
else {
return float;
}
if (question) {
return int;
}
else {
return float;
}
}
var t = decide(true);