aboutsummaryrefslogtreecommitdiff
path: root/tour/types.sloth
diff options
context:
space:
mode:
Diffstat (limited to 'tour/types.sloth')
-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);