hy/tests/resources/tlib.py

13 lines
235 B
Python
Raw Normal View History

2013-05-11 05:43:34 +02:00
from hy.macros import macro
from hy import HyList, HyInteger
2013-05-11 05:43:34 +02:00
@macro("qplah")
def tmac(ETname, *tree):
return HyList((HyInteger(8), ) + tree)
@macro("parald")
def tmac2(ETname, *tree):
return HyList((HyInteger(9), ) + tree)