コード例 #1
0
ファイル: interface.py プロジェクト: threepointone/lithp
 def __eq__(self, rhs):
     raise UnimplementedFunctionError("Function not yet implemented", rhs)
コード例 #2
0
 def cons(self, e):
     raise UnimplementedFunctionError("Function not yet implemented for ", self.__class__.__name__)
コード例 #3
0
ファイル: atom.py プロジェクト: wangfuli217/study
 def cons(self, e):
     if e.__class__ != self.__class__ and e.__class__ != Symbol.__class__:
         raise UnimplementedFunctionError('Cannot cons a string and a ',
                                          e.__class__.__name__)
     return String(e.data + self.data)
コード例 #4
0
 def cdr(self):
     raise UnimplementedFunctionError('Function not yet implemented for ',
                                      self.__class__.__name__)