0880610401
Fixes #1120. I also added hy.models._wrapper[set] so a macro can return an ordinary set in place of a HySet.
9 lines
113 B
Python
9 lines
113 B
Python
from hy.models.set import HySet
|
|
|
|
|
|
hyset = HySet([3, 1, 2, 2])
|
|
|
|
|
|
def test_set():
|
|
assert hyset == [3, 1, 2, 2]
|