1. Carl Friedrich Bolz
  2. Pyrolog

Commits

David Schneider  committed ad7acf7

Remove all LinkedRules calls

  • Participants
  • Parent commits 5138cc6
  • Branches continuation-based

Comments (0)

Files changed (1)

File prolog/interpreter/function.py

View file
  • Ignore whitespace
         return self.__class__ == other.__class__ and self.__dict__ == other.__dict__
     def __ne__(self, other):
         return not self == other
-LinkedRules = Rule    
-
 
 
 class Function(object):
         if firstrule is None:
             self.rulechain = self.last = None
         else:
-            self.rulechain = LinkedRules(firstrule)
+            self.rulechain = Rule(firstrule)
             self.last = self.rulechain
 
     def add_rule(self, rule, atend):