hy/tests/resources/tlib.py
Simon Gomizelj 5c40f793a1 Support PEP 328
Add support for proper relative imports
2018-02-06 23:41:12 -05:00

16 lines
268 B
Python

from hy.macros import macro
from hy import HyList, HyInteger
SECRET_MESSAGE = "Hello World"
@macro("qplah")
def tmac(ETname, *tree):
return HyList((HyInteger(8), ) + tree)
@macro("parald")
def tmac2(ETname, *tree):
return HyList((HyInteger(9), ) + tree)