aboutsummaryrefslogtreecommitdiff
path: root/examples/working/hash-set.ey
blob: 046e42bcc99d5851793232c14c569d74c0dea726 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
< { defv }' /put deff > /hashSet defv

1 /one hashSet .put
2 /two hashSet .put

hashSet .one dump
hashSet .two dump
hashSet keys dump

{
  < { defv }' /put deff > /hashSetB defv

  1 /one hashSetB .put
  2 /two hashSetB .put

  hashSetB .one dump
  hashSetB .two dump
  hashSetB
} * keys dump