hy/tests/resources/tlib.py

13 lines
219 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(*tree):
return HyList((HyInteger(8), ) + tree)
@macro("parald")
def tmac2(*tree):
return HyList((HyInteger(9), ) + tree)