aboutsummaryrefslogtreecommitdiff
path: root/examples/learnxiny.tm
diff options
context:
space:
mode:
Diffstat (limited to 'examples/learnxiny.tm')
-rw-r--r--examples/learnxiny.tm4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/learnxiny.tm b/examples/learnxiny.tm
index a00776ba..e2058558 100644
--- a/examples/learnxiny.tm
+++ b/examples/learnxiny.tm
@@ -335,11 +335,11 @@ func demo_enums():
>> my_shape == other_shape
= no
- >> "$my_shape" == "Shape.Circle(1)"
+ >> "$my_shape" == "Circle(1)"
= yes
>> {my_shape="nice"}
- = {Shape.Circle(1)="nice"}
+ = {Circle(1)="nice"}
func demo_lambdas():
# Lambdas, or anonymous functions, can be used like this: