hy/hy/lang/symbol.py
2012-12-16 21:44:14 -05:00

10 lines
198 B
Python

from hy.lang.hyobj import HYObject
class HYSymbol(unicode, HYObject):
def __init__(self, string):
self += string
def eval(self, *args, **kwargs):
return self.lookup(self)