hy/hy/lang/symbol.py

10 lines
198 B
Python
Raw Normal View History

2012-12-16 22:52:52 +01:00
from hy.lang.hyobj import HYObject
class HYSymbol(unicode, HYObject):
def __init__(self, string):
self += string
def eval(self, *args, **kwargs):
2012-12-16 23:46:33 +01:00
return self.lookup(self)