about summary refs log tree commit diff stats
path: root/js/scripting-lang/NEXT-STEPS.md
diff options
context:
space:
mode:
authorelioat <elioat@tilde.institute>2025-07-27 00:24:12 -0400
committerelioat <elioat@tilde.institute>2025-07-27 00:24:12 -0400
commit5ec28666c5bc083a4a5b56a04a4898d1791e48b1 (patch)
tree9811e98d359963f14255cdb7c0f5fea0d513a53e /js/scripting-lang/NEXT-STEPS.md
parentd2be3a6fdbda6ee4b640717d483de649237e06ce (diff)
downloadtour-master.tar.gz
Diffstat (limited to 'js/scripting-lang/NEXT-STEPS.md')
-rw-r--r--js/scripting-lang/NEXT-STEPS.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/scripting-lang/NEXT-STEPS.md b/js/scripting-lang/NEXT-STEPS.md
index c59a534..8061fb7 100644
--- a/js/scripting-lang/NEXT-STEPS.md
+++ b/js/scripting-lang/NEXT-STEPS.md
@@ -60,7 +60,7 @@ isFunction : x -> x is function;
 
 // Type-safe operations in case expressions
 safeStringOp : x -> case x of
-    x is string : x.length()
+    x is string : string.length x
     _ : "not a string";
 
 // Complex type validation