hy/tests/resources/tlib.py

16 lines
268 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
SECRET_MESSAGE = "Hello World"
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)