From 810ae220bc2b1dfa07593b77f391e4da3b57a6bb Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Wed, 6 Jun 2018 13:25:01 -0700 Subject: Added list/dict metatables to make comparison and string representations simpler. Also deleted Counters. --- tests/collections.nom | 4 ---- 1 file changed, 4 deletions(-) (limited to 'tests/collections.nom') diff --git a/tests/collections.nom b/tests/collections.nom index 6329d00..2cc6adf 100644 --- a/tests/collections.nom +++ b/tests/collections.nom @@ -37,9 +37,5 @@ assume (%x = [3,2,1]) sort %x by % = %keys.% assume (%x = [2,3,1]) assume ((unique [1,2,1,3,2,3]) = [1,2,3]) -%c <- (new counter) -for % in ["x","y","x","x","y"] - %c.% +<- 1 -assume (%c = {x:3,y:2}) say "Collections test passed." -- cgit v1.2.3