aboutsummaryrefslogtreecommitdiff
path: root/examples/working/hash-set.ey
diff options
context:
space:
mode:
authorDrahflow <drahflow@gmx.de>2013-01-23 01:56:25 +0100
committerDrahflow <drahflow@gmx.de>2013-01-23 01:56:25 +0100
commitd7fbde238c596c3f7cbc5471a0efb32481bdf6b8 (patch)
tree988353c9d4dcd64f9f57a93bea60a962f588e04e /examples/working/hash-set.ey
parente5b6407246b3fd64014f92e80679274cb1a7bfde (diff)
Thinner scope handling when necessary
Functions without own scope don't unneccesary save the current scope. This makes < > possible. Also: dearray implemented
Diffstat (limited to 'examples/working/hash-set.ey')
-rw-r--r--examples/working/hash-set.ey8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/working/hash-set.ey b/examples/working/hash-set.ey
index 495c27f..046e42b 100644
--- a/examples/working/hash-set.ey
+++ b/examples/working/hash-set.ey
@@ -1,4 +1,4 @@
-< { defv }' /put deff > =hashSet
+< { defv }' /put deff > /hashSet defv
1 /one hashSet .put
2 /two hashSet .put
@@ -8,12 +8,12 @@ hashSet .two dump
hashSet keys dump
{
- < { defv }' /put deff > =hashSetB
+ < { defv }' /put deff > /hashSetB defv
1 /one hashSetB .put
2 /two hashSetB .put
hashSetB .one dump
hashSetB .two dump
- hashSetB keys dump
-} *
+ hashSetB
+} * keys dump