Q'plah!
This commit is contained in:
parent
0b3628bcc3
commit
dbd9f0bbf8
@ -27,10 +27,7 @@ _hy_macros = {}
|
||||
def macro(name):
|
||||
def _(fn):
|
||||
_hy_macros[name] = fn
|
||||
|
||||
def __(*args, **kwargs):
|
||||
return fn(*args, **kwargs)
|
||||
return __
|
||||
return fn
|
||||
return _
|
||||
|
||||
|
||||
|
@ -31,3 +31,6 @@ def test_preprocessor_expression():
|
||||
assert type(obj[0]) == HyList
|
||||
|
||||
assert obj[0] == HyList([HyString("one"), HyString("two")])
|
||||
|
||||
obj = HyList([HyString("one"), HyString("two")])
|
||||
assert obj == process(obj)
|
||||
|
Loading…
Reference in New Issue
Block a user