From 52e50e58c6674560056a4dcb787099d739284b02 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 6 Apr 2025 16:34:23 -0400 Subject: Change Set syntax from {x} to |x| --- test/structs.tm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/structs.tm') diff --git a/test/structs.tm b/test/structs.tm index cf7b6a1c..2b1ff910 100644 --- a/test/structs.tm +++ b/test/structs.tm @@ -32,7 +32,7 @@ func test_metamethods(): >> x < Pair(11, 20) = yes - >> set := {x} + >> set := |x| >> set.has(x) = yes >> set.has(y) @@ -49,7 +49,7 @@ func test_mixed(): = no >> x < Mixed(11, "Hello") = yes - >> set := {x} + >> set := |x| >> set.has(x) = yes >> set.has(y) -- cgit v1.2.3