aboutsummaryrefslogtreecommitdiff
path: root/tour
diff options
context:
space:
mode:
authorCody <cody@codyq.dev>2023-03-24 17:33:44 -0500
committerCody <cody@codyq.dev>2023-03-24 17:33:44 -0500
commitf9d13f3098b2a5984f59d612be87c184aba0b2c7 (patch)
tree0a8059a4604026c3c0fcde587617507063cf7ccf /tour
parent28e0b95d8ecbbc44ef81069ad122a88b2a64c74e (diff)
downloadsloth-f9d13f3098b2a5984f59d612be87c184aba0b2c7.tar.gz
Stuff and things
Diffstat (limited to 'tour')
-rw-r--r--tour/types.sloth4
1 files changed, 2 insertions, 2 deletions
diff --git a/tour/types.sloth b/tour/types.sloth
index 0fdae33..8af0856 100644
--- a/tour/types.sloth
+++ b/tour/types.sloth
@@ -6,7 +6,7 @@ type Person = {
grades: Map<String, i32>,
};
-val cody = Person {
+val cody = Person(
name: "Cody Q",
age: 17,
hobbies: {
@@ -19,7 +19,7 @@ val cody = Person {
"Physics": 93,
"English": 78,
},
-};
+);
# Tuple Type
type Position = (i32, i32);