adding slightly better reprs in
This commit is contained in:
parent
8ac73e64ff
commit
a0ff144686
@ -25,3 +25,6 @@ class HyExpression(HyList):
|
||||
"""
|
||||
Hy S-Expression. Basically just a list.
|
||||
"""
|
||||
|
||||
def __repr__(self):
|
||||
return "(%s)" % (" ".join([str(x) for x in self]))
|
||||
|
@ -31,3 +31,6 @@ class HyList(HyObject, list):
|
||||
x.replace(other)
|
||||
|
||||
HyObject.replace(self, other)
|
||||
|
||||
def __repr__(self):
|
||||
return "[%s]" % (" ".join([str(x) for x in self]))
|
||||
|
Loading…
x
Reference in New Issue
Block a user