aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorNic Gaffney <gaffney_nic@protonmail.com>2023-09-06 14:05:17 -0500
committerNic Gaffney <gaffney_nic@protonmail.com>2023-09-06 14:05:17 -0500
commit7b67ab3d6fbc74c95f35b992286cb98492c8b433 (patch)
treef72f431afaa17033a9651fbbc989bd7ec34813de /examples
parent739421c86f5fabfef5c765beea7741a7409976d7 (diff)
downloadsloth-7b67ab3d6fbc74c95f35b992286cb98492c8b433.tar.gz
restructured filetree
Diffstat (limited to 'examples')
-rw-r--r--examples/guessing.sloth2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/guessing.sloth b/examples/guessing.sloth
index ef680c9..cfb293d 100644
--- a/examples/guessing.sloth
+++ b/examples/guessing.sloth
@@ -1,5 +1,5 @@
fn main() Int {
- var computer: Int = randGen(1, 10);
+ val computer: Int = randGen(1, 10);
var tries: Int = 0;
var correct: Bool = false;