11 lines
218 B
Python
11 lines
218 B
Python
from hy.lang.string import HYString
|
|
|
|
|
|
class HYSymbol(HYString):
|
|
def __init__(self, string):
|
|
self += string
|
|
|
|
def eval(self, lns, *args, **kwargs):
|
|
obj = self.lookup(lns, self)
|
|
return obj
|